suppress all output

This commit is contained in:
Trevor Batley 2023-06-02 11:15:30 +10:00
parent e68b051f83
commit 76fbc34b5d

View File

@ -19,6 +19,7 @@ if [[ -z $1 ]] ; then
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 " - <nooutput> 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