Remove verbose logging
This commit is contained in:
13
rsc_clone.sh
13
rsc_clone.sh
@@ -28,16 +28,6 @@ usage() { log_error "Usage: $0 -n <newname> -o <optionsfile> -h <targethost> [-s
|
||||
|
||||
MYDIR="$(dirname "$(realpath "$0")")"
|
||||
|
||||
# Support long option --verbose by translating to -v before getopts
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
--verbose)
|
||||
set -- "${@/--verbose/-v}"
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
source $MYDIR/rsc_ops.sh
|
||||
|
||||
while getopts "n:o:t:h:s:d:v:c:" o; do
|
||||
@@ -60,9 +50,6 @@ while getopts "n:o:t:h:s:d:v:c:" o; do
|
||||
d)
|
||||
dryrun=true
|
||||
;;
|
||||
v)
|
||||
VERBOSE=1
|
||||
;;
|
||||
c)
|
||||
numChannels=${OPTARG}
|
||||
# Validate numChannels is a positive integer
|
||||
|
||||
Reference in New Issue
Block a user