Remove verbose logging
This commit is contained in:
@@ -7,22 +7,10 @@
|
||||
#
|
||||
# usage: rsc_list_slas.sh [filter]
|
||||
|
||||
usage() { log_error "Usage: $0 [filter]"; exit 1; }
|
||||
usage() { echo "Usage: $0 [filter]" >&2; exit 1; }
|
||||
|
||||
MYDIR="$(dirname "$(realpath "$0")")"
|
||||
# Support -v/--verbose and strip it from positional args so it doesn't become $1
|
||||
NEWARGS=()
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
-v|--verbose)
|
||||
VERBOSE=1
|
||||
;;
|
||||
*)
|
||||
NEWARGS+=("$arg")
|
||||
;;
|
||||
esac
|
||||
done
|
||||
set -- "${NEWARGS[@]}"
|
||||
# log_info prints by default now; no verbose flag
|
||||
|
||||
# source $MYDIR/rbk_api.conf
|
||||
source $MYDIR/rsc_ops.sh
|
||||
|
||||
Reference in New Issue
Block a user