X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fvapt-get;h=7e8224953f7390552989f562a5a09e1ecf23e62d;hb=6fdb192300e968e4a7db93060e18560a4429729e;hp=aa0f4fe39824fc8362391fce21b3b510ebe2429d;hpb=fe7d06dd8c87ef290962b1f14b9eb3e41d4a1f0d;p=util-vserver.git diff --git a/scripts/vapt-get b/scripts/vapt-get index aa0f4fe..7e82249 100755 --- a/scripts/vapt-get +++ b/scripts/vapt-get @@ -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 $"vapt-get: internal error; arg=='$1'" >&2; exit 1;; + (*) vsomething_opts=( "${vsomething_opts[@]}" "$1" );; esac shift done