X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fvrpm;h=0bae9dd9ac9dc7f56c339d7d531f3f301d645c70;hb=09e68ea5be59e9f3824761e9f5ce602b058c458f;hp=ffff573543420637a96791fe19c938ad527bcbc2;hpb=be9c6aed872e34b625817e77e24c8897e5f7085c;p=util-vserver.git diff --git a/scripts/vrpm b/scripts/vrpm index ffff573..0bae9dd 100755 --- a/scripts/vrpm +++ b/scripts/vrpm @@ -46,7 +46,7 @@ the GNU General Public License. This program has absolutely no warranty." 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 @@ -57,9 +57,8 @@ while true; do (--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