version 1.1, 2025/04/04 18:00:01
|
version 1.2, 2025/04/06 03:38:05
|
Line 25
|
Line 25
|
# along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
# along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
# |
# |
# $Log$ |
# $Log$ |
|
# Revision 1.2 2025/04/06 03:38:05 snw |
|
# Prepare for adding packaging functionality to fmd |
|
# |
# Revision 1.1 2025/04/04 18:00:01 snw |
# Revision 1.1 2025/04/04 18:00:01 snw |
# *** empty log message *** |
# *** empty log message *** |
# |
# |
Line 36
|
Line 39
|
MINIMAL=0 |
MINIMAL=0 |
|
|
function usage() { |
function usage() { |
echo "usage: fmd changelog [--minimal] <freem-version>" |
echo |
|
echo "Prints a FreeM ChangeLog entry" |
|
echo |
|
echo "usage:" |
|
echo |
|
echo " fmd changelog [--minimal] [<freem-version>]" |
|
echo |
|
echo " If the '--minimal' flag is specified, will print only the ChangeLog entries" |
|
echo " without the version header." |
|
echo |
|
echo " If <freem-version> is omitted, fmd changelog will assume you want the ChangeLog" |
|
echo " for the current version in your copy of the repository." |
|
echo |
exit 1 |
exit 1 |
} |
} |
|
|
|
if [[ $1 == "help" ]] |
|
then |
|
usage |
|
fi |
|
|
if [[ $# == 0 ]] |
if [[ $# == 0 ]] |
then |
then |
echo "changelog: must be run from 'fmd changelog'" |
echo "changelog: must be run from 'fmd changelog'" |