diff options
author | 2020-04-30 15:52:13 -0700 | |
---|---|---|
committer | 2020-04-30 15:52:13 -0700 | |
commit | 1090b5588fa26cedc773014c9d46cdbf91ea55f7 (patch) | |
tree | 529bafcd782adfa37dd8158844384fbc32edc42c | |
parent | mirmon-wrapper.sh: fix arg handling (diff) | |
download | gentoo-mirrorstats-1090b5588fa26cedc773014c9d46cdbf91ea55f7.tar.gz gentoo-mirrorstats-1090b5588fa26cedc773014c9d46cdbf91ea55f7.tar.bz2 gentoo-mirrorstats-1090b5588fa26cedc773014c9d46cdbf91ea55f7.zip |
mirmon-wrapper.sh: always shift old args
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | mirmon-wrapper.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mirmon-wrapper.sh b/mirmon-wrapper.sh index 2cb6260..0340ec6 100755 --- a/mirmon-wrapper.sh +++ b/mirmon-wrapper.sh @@ -131,19 +131,21 @@ while [[ $# -gt 0 ]]; do XML_SRC=$2 shift 2 ;; - --url) URL=$2 shift 2 ;; --debug) DEBUG=1 + shift ;; --verbose) VERBOSE=1 + shift ;; --help) HELP=1 + shift ;; --) # End of options |