exit 0
}
-tmp=$(getopt -o +q --long help,version,debug,quiet,all -n "$0" -- "$@") || exit 1
+tmp=$(getopt -o +q --long help,version,debug,quiet,$VS_ALLVSERVERS_ARGS -n "$0" -- "$@") || exit 1
eval set -- "$tmp"
declare -a send_through vsomething_opts
(--version) showVersion ;;
(--debug) send_through=( "${send_through[@]}" "$1" ); set -x;;
(--quiet|-q) send_through=( "${send_through[@]}" "$1" );;
- (--all) vsomething_opts=( "${vsomething_opts[@]}" "$1" );;
(--) shift; break;;
- (*) echo $"vrpm: internal error; arg=='$1'" >&2; exit 1;;
+ (*) vsomething_opts=( "${vsomething_opts[@]}" "$1" );;
esac
shift
done