diff cli-runopts.c @ 1892:3442105b2aba

increase verboseness by allowing multiple -v
author HansH111 <hans@atbas.org>
date Sat, 19 Mar 2022 08:55:31 +0000
parents 33363a68784d
children e093ddc5b585
line wrap: on
line diff
--- a/cli-runopts.c	Sat Mar 19 08:54:25 2022 +0000
+++ b/cli-runopts.c	Sat Mar 19 08:55:31 2022 +0000
@@ -96,7 +96,7 @@
 					"-b    [bind_address][:bind_port]\n"
 					"-V    Version\n"
 #if DEBUG_TRACE
-					"-v    verbose (compiled with DEBUG_TRACE)\n"
+					"-v    verbose (repeat for more verbose)\n"
 #endif
 					,DROPBEAR_VERSION, cli_opts.progname,
 #if DROPBEAR_CLI_PUBKEY_AUTH
@@ -302,7 +302,7 @@
 #endif
 #if DEBUG_TRACE
 				case 'v':
-					debug_trace = 1;
+					debug_trace++;
 					break;
 #endif
 				case 'F':