diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index b41a2dd..50b260f 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -19,6 +19,7 @@ if [[ -z $1 ]] ; then echo " - will use parameters set for local repository, else it will use remote" echo " - will automagically delete an existing repo, otherwise it will prompt" echo " - run in debug mode" + echo " - completely suppress all output" exit 0 fi @@ -69,7 +70,7 @@ SOURCEORG="smeserver" TARGETORG=${remote_USER} DELETEIT= NOOUTPUT= -for param in $2 $3 $4 $5; do +for param in $2 $3 $4 $5 $6; do if [ $param ] ; then case $param in local ) @@ -81,7 +82,7 @@ for param in $2 $3 $4 $5; do debug ) DEBUG=true ;; nooutput ) - NOOUTPUT=true + NOOUTPUT=true ;; * ) SOURCEORGORG=$param ;; esac