mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 13:55:25 +01:00 
			
		
		
		
	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:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 David Cooper
					David Cooper