From 2c549613302605225f131c1e88796fb6e5d61797 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Thu, 1 Jun 2023 11:05:10 +1000 Subject: [PATCH] added help text for params --- rename-e-smith-pkg.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index bd57672..f3ff4cd 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -11,8 +11,15 @@ # if [[ -z $1 ]] ; then - echo "************rename-e-smith-pkg.sh [ ]" - exit 0 + echo "Rename an e-smith package as smeserver and change relevant files" + echo "rename-e-smith-pkg.sh [ ]" + 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 echo "**************************************************************************************************" echo "* *"