X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/blobdiff_plain/f7f33d336aea39518053970d7ecba1e59f592eee..b0da06cadad861ae678fbc473e5760292791cc5a:/exec/bkgpslog diff --git a/exec/bkgpslog b/exec/bkgpslog index 2eed9ba..eeed3a6 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -214,9 +214,9 @@ processArguments() { -r | --recipient) # Add 'age' recipient via public key string recPubKeys+=("$2"); vbm "pubkey added:""$2"; shift;; -c | --compress) OPTION_COMPRESS="true"; vbm "DEBUG:Compressed output mode enabled.";; - -z | --time-zone) try setTimeZoneEV "$1";; - -t | --temp-dir) OPTION_TMPDIR="true" && TMP_DIR_PRIORITY="$1";; - *) echoerr "ERROR: Unrecognized argument."; exit 1;; # Handle unrecognized options. + -z | --time-zone) try setTimeZoneEV "$2";; + -t | --temp-dir) OPTION_TMPDIR="true" && TMP_DIR_PRIORITY="$2";; + *) echoerr "ERROR: Unrecognized argument: $1"; echoerr "STATUS:All arguments:$*"; exit 1;; # Handle unrecognized options. esac shift done