From 7cc41a1a92f763509815562e7dd6ab12eb3fe0db Mon Sep 17 00:00:00 2001 From: Thomas Patzke Date: Tue, 8 Mar 2016 22:25:00 +0100 Subject: [PATCH] logfile, jsonfile and csvfile parameters work without = (as documented in help) --- testssl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testssl.sh b/testssl.sh index 5c71f90..b8f4830 100755 --- a/testssl.sh +++ b/testssl.sh @@ -6656,7 +6656,7 @@ parse_cmd_line() { do_logging=true ;; # DEFINITION of LOGFILE if no arg specified: automagically in parse_hn_port() # following does the same but we can specify a log location additionally - --logfile=*) + --logfile|--logfile=*) LOGFILE=$(parse_opt_equal_sign "$1" "$2") [[ $? -eq 0 ]] && shift do_logging=true @@ -6665,7 +6665,7 @@ parse_cmd_line() { do_json=true ;; # DEFINITION of JSONFILE is not arg specified: automagically in parse_hn_port() # following does the same but we can specify a log location additionally - --jsonfile=*) + --jsonfile|--jsonfile=*) JSONFILE=$(parse_opt_equal_sign "$1" "$2") [[ $? -eq 0 ]] && shift do_json=true @@ -6674,7 +6674,7 @@ parse_cmd_line() { do_csv=true ;; # DEFINITION of CSVFILE is not arg specified: automagically in parse_hn_port() # following does the same but we can specify a log location additionally - --csvfile=*) + --csvfile|--csvfile=*) CSVFILE=$(parse_opt_equal_sign "$1" "$2") [[ $? -eq 0 ]] && shift do_csv=true