comparison 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
comparison
equal deleted inserted replaced
1903:9382271da9ef 1904:be236878efcf
107 "-A <authplugin>[,<options>]\n" 107 "-A <authplugin>[,<options>]\n"
108 " Enable external public key auth through <authplugin>\n" 108 " Enable external public key auth through <authplugin>\n"
109 #endif 109 #endif
110 "-V Version\n" 110 "-V Version\n"
111 #if DEBUG_TRACE 111 #if DEBUG_TRACE
112 "-v verbose (compiled with DEBUG_TRACE)\n" 112 "-v verbose (repeat for more verbose)\n"
113 #endif 113 #endif
114 ,DROPBEAR_VERSION, progname, 114 ,DROPBEAR_VERSION, progname,
115 #if DROPBEAR_DSS 115 #if DROPBEAR_DSS
116 DSS_PRIV_FILENAME, 116 DSS_PRIV_FILENAME,
117 #endif 117 #endif
308 next = &pubkey_plugin; 308 next = &pubkey_plugin;
309 break; 309 break;
310 #endif 310 #endif
311 #if DEBUG_TRACE 311 #if DEBUG_TRACE
312 case 'v': 312 case 'v':
313 debug_trace = 1; 313 debug_trace++;
314 break; 314 break;
315 #endif 315 #endif
316 case 'V': 316 case 'V':
317 print_version(); 317 print_version();
318 exit(EXIT_SUCCESS); 318 exit(EXIT_SUCCESS);