fix(bkgpslog):processArguments: Shorten short option strings
[EVA-2020-02.git] / exec / bkgpslog
index 900b8c46355415c97a3a62f5d520ef0ef98ea4e2..8d1829a73a4619c6ac086059dcf6ac24eb7d43d8 100755 (executable)
@@ -173,10 +173,10 @@ processArguments() {
        #echoerr "DEBUG:Starting processArguments while loop."
        #echoerr "DEBUG:Provided arguments are:""$*"
        case "$1" in
-           --h | --help) showUsage; exit 1;; # Display usage.
+           -h | --help) showUsage; exit 1;; # Display usage.
            --version) showVersion; exit 1;; # Show version
-           --v | --verbose) OPTION_VERBOSE="true"; vbm "DEBUG:Verbose mode enabled.";; # Enable verbose mode.
-           --o | --output) if [ -d "$2" ]; then DIROUT="$2"; vbm "DEBUG:DIROUT:$DIROUT"; shift; fi ;; # Define output directory.
+           -v | --verbose) OPTION_VERBOSE="true"; vbm "DEBUG:Verbose mode enabled.";; # Enable verbose mode.
+           -o | --output) if [ -d "$2" ]; then DIROUT="$2"; vbm "DEBUG:DIROUT:$DIROUT"; shift; fi ;; # Define output directory.
            *) echoerr "ERROR: Unrecognized argument."; exit 1;; # Handle unrecognized options.
        esac
        shift