commit:     a568c369788436b7a10b8de7cf8051f2c0130a23
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Fri May  1 17:59:16 2020 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri May  1 17:59:16 2020 +0000
URL:        
https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=a568c369

mirmon-wrapper.sh: missed case in args

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 mirmon-wrapper.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/mirmon-wrapper.sh b/mirmon-wrapper.sh
index 0340ec6..e641c75 100755
--- a/mirmon-wrapper.sh
+++ b/mirmon-wrapper.sh
@@ -122,6 +122,7 @@ INVALID=
 
 while [[ $# -gt 0 ]]; do
     case "$1" in
+               # Strs:
         --mode)
             MODE=$2
             shift 2
@@ -135,6 +136,11 @@ while [[ $# -gt 0 ]]; do
             URL=$2
             shift 2
             ;;
+               # Bools:
+               --quiet)
+                       QUIET=1
+                       shift
+                       ;;
                --debug)
                        DEBUG=1
                        shift
@@ -147,8 +153,8 @@ while [[ $# -gt 0 ]]; do
                        HELP=1
                        shift
                        ;;
+               # End of options
                --)
-                       # End of options
                        break
                        ;;
         *)

Reply via email to