added help text for params

This commit is contained in:
Trevor Batley 2023-06-01 11:05:10 +10:00
parent 7f8546f99b
commit 2c54961330

View File

@ -11,8 +11,15 @@
# #
if [[ -z $1 ]] ; then if [[ -z $1 ]] ; then
echo "************rename-e-smith-pkg.sh <modulename> [<organization> <local> <force> <debug>]" echo "Rename an e-smith package as smeserver and change relevant files"
exit 0 echo "rename-e-smith-pkg.sh <modulename> [<organization> <local> <force> <debug>]"
echo "\$1 = Module name e.g. e-smith-dnscache"
echo "\$2-\$5 can appear in any order and are optional"
echo " = Organisation (smeserver or user - defaults to smeserver)"
echo " = 'local' will use parameters set for local repository else it will use remote"
echo " = 'force' will automagically delete an existing repo, otherwise it will prompt"
echo " = 'debug' run in debug mode"
exit 0
fi fi
echo "**************************************************************************************************" echo "**************************************************************************************************"
echo "* *" echo "* *"