diff svr-runopts.c @ 1904:be236878efcf

Add -v variable debug levels for server too -vvvv is equivalent to the old -v
author Matt Johnston <matt@ucc.asn.au>
date Thu, 24 Mar 2022 14:44:13 +0800
parents 4a6725ac957c
children 284c3837891c
line wrap: on
line diff
--- a/svr-runopts.c	Thu Mar 24 14:18:45 2022 +0800
+++ b/svr-runopts.c	Thu Mar 24 14:44:13 2022 +0800
@@ -109,7 +109,7 @@
 #endif
 					"-V    Version\n"
 #if DEBUG_TRACE
-					"-v		verbose (compiled with DEBUG_TRACE)\n"
+					"-v    verbose (repeat for more verbose)\n"
 #endif
 					,DROPBEAR_VERSION, progname,
 #if DROPBEAR_DSS
@@ -310,7 +310,7 @@
 #endif
 #if DEBUG_TRACE
 				case 'v':
-					debug_trace = 1;
+					debug_trace++;
 					break;
 #endif
 				case 'V':