Remove verbose logging

This commit is contained in:
2025-10-15 17:33:29 +01:00
parent b71ca508ea
commit 14b74e8ecd
6 changed files with 22 additions and 66 deletions

View File

@@ -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