comparison 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
comparison
equal deleted inserted replaced
1891:40f8468ad4d4 1892:3442105b2aba
94 "-m <MAC list> Specify preferred MACs for packet verification (or '-m help')\n" 94 "-m <MAC list> Specify preferred MACs for packet verification (or '-m help')\n"
95 #endif 95 #endif
96 "-b [bind_address][:bind_port]\n" 96 "-b [bind_address][:bind_port]\n"
97 "-V Version\n" 97 "-V Version\n"
98 #if DEBUG_TRACE 98 #if DEBUG_TRACE
99 "-v verbose (compiled with DEBUG_TRACE)\n" 99 "-v verbose (repeat for more verbose)\n"
100 #endif 100 #endif
101 ,DROPBEAR_VERSION, cli_opts.progname, 101 ,DROPBEAR_VERSION, cli_opts.progname,
102 #if DROPBEAR_CLI_PUBKEY_AUTH 102 #if DROPBEAR_CLI_PUBKEY_AUTH
103 DROPBEAR_DEFAULT_CLI_AUTHKEY, 103 DROPBEAR_DEFAULT_CLI_AUTHKEY,
104 #endif 104 #endif
300 next = &opts.mac_list; 300 next = &opts.mac_list;
301 break; 301 break;
302 #endif 302 #endif
303 #if DEBUG_TRACE 303 #if DEBUG_TRACE
304 case 'v': 304 case 'v':
305 debug_trace = 1; 305 debug_trace++;
306 break; 306 break;
307 #endif 307 #endif
308 case 'F': 308 case 'F':
309 case 'e': 309 case 'e':
310 #if !DROPBEAR_USER_ALGO_LIST 310 #if !DROPBEAR_USER_ALGO_LIST