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

version 1.1, 2025/04/05 03:18:41 version 1.2, 2025/04/06 03:38:05
Line 26 Line 26
 #   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/05 03:18:41  snw  #   Revision 1.1  2025/04/05 03:18:41  snw
 #   Add fmd docupdate command to dev scripts  #   Add fmd docupdate command to dev scripts
 #  #
Line 38 Line 41
 PGM=$(basename $0)  PGM=$(basename $0)
   
 function usage() {  function usage() {
     echo "usage:  fmd docupdate <ssh-server>"      echo
     exit 1      echo "Uploads current documentation to the FreeM website"
       echo
       echo "usage:"
       echo
       echo "   fmd docupdate <ssh-server>"
       echo
       echo " The <ssh-server> argument should be in the format 'username@fqdn'."
       echo " Do NOT specify anything else."
       echo
       exit 0
 }  }
   
   if [[ $1 == "help" ]]
 if [[ $# == 0 ]]  
 then  then
     echo "fmd-docupdate:  must be run from 'fmd docupdate'"      usage
     exit 1  
 fi  fi
   
 if [[ ! -f sem.ver ]]  if [[ $# == 0 ]]
 then  then
     echo "Not in the root of the FreeM repository."      echo "fmd-docupdate:  must be run from 'fmd docupdate'"
     exit 1      exit 1
 fi  fi
   

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


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