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