suppress all output
This commit is contained in:
parent
e68b051f83
commit
76fbc34b5d
@ -19,6 +19,7 @@ if [[ -z $1 ]] ; then
|
|||||||
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"
|
||||||
|
echo " - <nooutput> completely suppress all output"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -69,7 +70,7 @@ SOURCEORG="smeserver"
|
|||||||
TARGETORG=${remote_USER}
|
TARGETORG=${remote_USER}
|
||||||
DELETEIT=
|
DELETEIT=
|
||||||
NOOUTPUT=
|
NOOUTPUT=
|
||||||
for param in $2 $3 $4 $5; do
|
for param in $2 $3 $4 $5 $6; do
|
||||||
if [ $param ] ; then
|
if [ $param ] ; then
|
||||||
case $param in
|
case $param in
|
||||||
local )
|
local )
|
||||||
@ -81,7 +82,7 @@ for param in $2 $3 $4 $5; do
|
|||||||
debug )
|
debug )
|
||||||
DEBUG=true ;;
|
DEBUG=true ;;
|
||||||
nooutput )
|
nooutput )
|
||||||
NOOUTPUT=true
|
NOOUTPUT=true ;;
|
||||||
* )
|
* )
|
||||||
SOURCEORGORG=$param ;;
|
SOURCEORGORG=$param ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user