mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 13:55:25 +01:00 
			
		
		
		
	Merge pull request #1888 from dcooper16/send_to_stderr
Print errors to stderr
This commit is contained in:
		| @@ -22328,7 +22328,7 @@ parse_cmd_line() { | |||||||
|                     [[ $? -eq 0 ]] && shift |                     [[ $? -eq 0 ]] && shift | ||||||
|                     case "$MASS_TESTING_MODE" in |                     case "$MASS_TESTING_MODE" in | ||||||
|                          serial|parallel) ;; |                          serial|parallel) ;; | ||||||
|                          *)   tmln_magenta "\nmass testing mode can be either \"serial\" or \"parallel\"" |                          *)   tmln_magenta "\nmass testing mode can be either \"serial\" or \"parallel\"" 1>&2 | ||||||
|                               help 1 |                               help 1 | ||||||
|                     esac |                     esac | ||||||
|                     ;; |                     ;; | ||||||
| @@ -22343,7 +22343,7 @@ parse_cmd_line() { | |||||||
|                     [[ $? -eq 0 ]] && shift |                     [[ $? -eq 0 ]] && shift | ||||||
|                     case "$WARNINGS" in |                     case "$WARNINGS" in | ||||||
|                          batch|off) ;; |                          batch|off) ;; | ||||||
|                          *)   tmln_magenta "\nwarnings can be either \"batch\", or \"off\"" |                          *)   tmln_magenta "\nwarnings can be either \"batch\", or \"off\"" 1>&2 | ||||||
|                               help 1 |                               help 1 | ||||||
|                     esac |                     esac | ||||||
|                     ;; |                     ;; | ||||||
| @@ -22361,7 +22361,7 @@ parse_cmd_line() { | |||||||
|                     [[ $? -eq 0 ]] && shift |                     [[ $? -eq 0 ]] && shift | ||||||
|                     case $DEBUG in |                     case $DEBUG in | ||||||
|                          [0-6]) ;; |                          [0-6]) ;; | ||||||
|                          *)   tmln_magenta_term "\nunrecognized debug value \"$1\", must be between 0..6" 1>&2 |                          *)   tmln_magenta "\nunrecognized debug value \"$1\", must be between 0..6" 1>&2 | ||||||
|                               help 1 |                               help 1 | ||||||
|                     esac |                     esac | ||||||
|                     ;; |                     ;; | ||||||
| @@ -22584,7 +22584,7 @@ parse_cmd_line() { | |||||||
|                          no-rfc|no-iana) DISPLAY_CIPHERNAMES="openssl-only" ;; |                          no-rfc|no-iana) DISPLAY_CIPHERNAMES="openssl-only" ;; | ||||||
|                          openssl) DISPLAY_CIPHERNAMES="openssl" ;; |                          openssl) DISPLAY_CIPHERNAMES="openssl" ;; | ||||||
|                          rfc|iana) DISPLAY_CIPHERNAMES="rfc" ;; |                          rfc|iana) DISPLAY_CIPHERNAMES="rfc" ;; | ||||||
|                          *)   tmln_warning "\nmapping can only be \"no-openssl\", \"no-iana\"(\"no-rfc\"), \"openssl\" or \"iana\"(\"rfc\")" |                          *)   tmln_warning "\nmapping can only be \"no-openssl\", \"no-iana\"(\"no-rfc\"), \"openssl\" or \"iana\"(\"rfc\")" 1>&2; | ||||||
|                               help 1 ;; |                               help 1 ;; | ||||||
|                     esac |                     esac | ||||||
|                     ;; |                     ;; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter