remove start messages and tidy help

This commit is contained in:
Trevor Batley 2023-06-02 09:17:03 +10:00
parent 017fbc8857
commit 2506441cfd

View File

@ -13,19 +13,14 @@
if [[ -z $1 ]] ; then if [[ -z $1 ]] ; then
echo "Rename an e-smith package as smeserver and change relevant files" echo "Rename an e-smith package as smeserver and change relevant files"
echo "rename-e-smith-pkg.sh <modulename> [<organization> <local> <force> <debug>]" echo "rename-e-smith-pkg.sh <modulename> [<organization> <local> <force> <debug>]"
echo "\$1 = Module name e.g. e-smith-dnscache" echo "<modulename> = Module/package name (e.g. e-smith-dnscache)"
echo "\$2-\$5 can appear in any order and are optional" echo " can appear in any order and are optional"
echo " = Organisation (smeserver or user - defaults to smeserver)" echo " - <organisation> (smeserver, smecontribs or user - defaults to smeserver)"
echo " = 'local' will use parameters set for local repository else it will use remote" 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 " - <force> will automagically delete an existing repo, otherwise it will prompt"
echo " = 'debug' run in debug mode" echo " - <debug> run in debug mode"
exit 0 exit 0
fi fi
echo "**************************************************************************************************"
echo "* *"
echo "* SMEServer - rename-e-smith-pkg.sh $1 $2 $3 $4 $5 `date` *"
echo "* *"
echo "**************************************************************************************************"
# #
# Pull in parameters from a config file ~/.smegit/config # Pull in parameters from a config file ~/.smegit/config