From 2c7f7e60f57e121de19d2bc6946a69ee0fed65b7 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Sun, 19 Sep 2021 16:50:39 +0200 Subject: [PATCH] Made the script exit if the -h,-?,--help flag was given --- volumectl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volumectl b/volumectl index 6e00bba..0ac553f 100755 --- a/volumectl +++ b/volumectl @@ -271,7 +271,7 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then #if '__name__' == '__main__' -h|-\?|--help) verbose && echo "Detected -h, -? or --help" usage - shift + exit ;; esac done