Fix printing of unrecognized option
When testssl.sh is called with an unknown option it prints something like: 0: unrecognized option "--option" It should be printing the name of the program rather than "0". This commit fixes that.
This commit is contained in:
parent
d881140cac
commit
45eafd239f
|
@ -21693,7 +21693,7 @@ parse_cmd_line() {
|
||||||
(--) shift
|
(--) shift
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
(-*) tmln_warning "0: unrecognized option \"$1\"" 1>&2;
|
(-*) tmln_warning "$0: unrecognized option \"$1\"" 1>&2;
|
||||||
help 1
|
help 1
|
||||||
;;
|
;;
|
||||||
(*) break
|
(*) break
|
||||||
|
|
Loading…
Reference in New Issue