--- freem/scripts/fmd-versions 2025/04/04 18:30:03 1.1 +++ freem/scripts/fmd-versions 2025/04/06 03:38:05 1.2 @@ -1,7 +1,7 @@ #!/usr/bin/env bash # -# $Id: fmd-versions,v 1.1 2025/04/04 18:30:03 snw Exp $ +# $Id: fmd-versions,v 1.2 2025/04/06 03:38:05 snw Exp $ # Gets the changelog for a specific version # # @@ -25,6 +25,9 @@ # along with FreeM. If not, see . # # $Log: fmd-versions,v $ +# Revision 1.2 2025/04/06 03:38:05 snw +# Prepare for adding packaging functionality to fmd +# # Revision 1.1 2025/04/04 18:30:03 snw # Add fmd versions command to list all versions # @@ -35,10 +38,21 @@ # function usage() { - echo "usage: fmd versions" - exit 1 + echo + echo "Prints a list of all known FreeM versions" + echo + echo "usage: " + echo + echo " fmd versions" + echo + exit 0 } +if [[ $1 == "help" ]] +then + usage +fi + if [[ $# == 0 ]] then echo "versions: must be run from 'fmd versions'"