X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/blobdiff_plain/d6896d3b7c321ec6a62edde16f53794ca12975bd..27a8996a799309f834378db297854a22584d7546:/exec/bkgpslog diff --git a/exec/bkgpslog b/exec/bkgpslog index 900b8c4..8d1829a 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -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