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
echo "Rename an e-smith package as smeserver and change relevant files"
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"
echo "<modulename> = Module/package name (e.g. e-smith-dnscache)"
echo " can appear in any order and are optional"
echo " - <organisation> (smeserver, smecontribs 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
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