From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E6070138350 for ; Thu, 30 Apr 2020 22:52:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1A55E096C; Thu, 30 Apr 2020 22:52:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79BA9E096C for ; Thu, 30 Apr 2020 22:52:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81AC334F097 for ; Thu, 30 Apr 2020 22:52:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31F911EB for ; Thu, 30 Apr 2020 22:52:21 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1588287133.1090b5588fa26cedc773014c9d46cdbf91ea55f7.robbat2@gentoo> Subject: [gentoo-commits] proj/gentoo-mirrorstats:master commit in: / X-VCS-Repository: proj/gentoo-mirrorstats X-VCS-Files: mirmon-wrapper.sh X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 1090b5588fa26cedc773014c9d46cdbf91ea55f7 X-VCS-Branch: master Date: Thu, 30 Apr 2020 22:52:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 070f3557-e247-460c-b6c1-39cfcf6d9cdc X-Archives-Hash: 006f0963a0a3422a81ea960cfa113bef commit: 1090b5588fa26cedc773014c9d46cdbf91ea55f7 Author: Robin H. Johnson gentoo org> AuthorDate: Thu Apr 30 22:52:13 2020 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Thu Apr 30 22:52:13 2020 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=1090b558 mirmon-wrapper.sh: always shift old args Signed-off-by: Robin H. Johnson gentoo.org> mirmon-wrapper.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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