Diff for /freem/scripts/fmd-versions between versions 1.1 and 1.2

version 1.1, 2025/04/04 18:30:03 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:30:03  snw  #   Revision 1.1  2025/04/04 18:30:03  snw
 #   Add fmd versions command to list all versions  #   Add fmd versions command to list all versions
 #  #
Line 35 Line 38
 #  #
   
 function usage() {  function usage() {
     echo "usage:  fmd versions"      echo
     exit 1      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 ]]  if [[ $# == 0 ]]
 then  then
     echo "versions:  must be run from 'fmd versions'"      echo "versions:  must be run from 'fmd versions'"

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>