Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-mirrorstats:master commit in: /
Date: Fri, 01 May 2020 17:59:28
Message-Id: 1588355956.a568c369788436b7a10b8de7cf8051f2c0130a23.robbat2@gentoo
1 commit: a568c369788436b7a10b8de7cf8051f2c0130a23
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 1 17:59:16 2020 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Fri May 1 17:59:16 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=a568c369
7
8 mirmon-wrapper.sh: missed case in args
9
10 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
11
12 mirmon-wrapper.sh | 8 +++++++-
13 1 file changed, 7 insertions(+), 1 deletion(-)
14
15 diff --git a/mirmon-wrapper.sh b/mirmon-wrapper.sh
16 index 0340ec6..e641c75 100755
17 --- a/mirmon-wrapper.sh
18 +++ b/mirmon-wrapper.sh
19 @@ -122,6 +122,7 @@ INVALID=
20
21 while [[ $# -gt 0 ]]; do
22 case "$1" in
23 + # Strs:
24 --mode)
25 MODE=$2
26 shift 2
27 @@ -135,6 +136,11 @@ while [[ $# -gt 0 ]]; do
28 URL=$2
29 shift 2
30 ;;
31 + # Bools:
32 + --quiet)
33 + QUIET=1
34 + shift
35 + ;;
36 --debug)
37 DEBUG=1
38 shift
39 @@ -147,8 +153,8 @@ while [[ $# -gt 0 ]]; do
40 HELP=1
41 shift
42 ;;
43 + # End of options
44 --)
45 - # End of options
46 break
47 ;;
48 *)