From 36c1f17fc1ab7a81b5b3ff1bcdaccde7cfbab8b2 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Fri, 26 Feb 2021 21:10:06 +0100 Subject: [PATCH] Fix the switch case instruction in scripts/ybcon.sh. --- scripts/ybcon.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/ybcon.sh b/scripts/ybcon.sh index 9526df0..2b878da 100755 --- a/scripts/ybcon.sh +++ b/scripts/ybcon.sh @@ -44,6 +44,9 @@ if [ "$#" != 0 ]; then for it in "$@" do case "$it" in + -h | --help | --version ) + usage false + exit 0 ;; -p | --printresult ) newArgs "$it" shift ;; @@ -52,7 +55,7 @@ if [ "$#" != 0 ]; then run=true break ;; * ) - usage false ;; + usage false ;; esac done fi