Mercurial > dropbear
comparison svr-runopts.c @ 94:c85c88500ea6
DEBUG_TRACE now only triggers with -v on the cmdline
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 18 Aug 2004 15:48:25 +0000 |
parents | dc68f7624f17 |
children | 72dc22f56858 |
comparison
equal
deleted
inserted
replaced
93:5dda5a4d475c | 94:c85c88500ea6 |
---|---|
74 "-p port Listen on specified tcp port, up to %d can be specified\n" | 74 "-p port Listen on specified tcp port, up to %d can be specified\n" |
75 " (default %d if none specified)\n" | 75 " (default %d if none specified)\n" |
76 #ifdef INETD_MODE | 76 #ifdef INETD_MODE |
77 "-i Start for inetd\n" | 77 "-i Start for inetd\n" |
78 #endif | 78 #endif |
79 #ifdef DEBUG_TRACE | |
80 "-v verbose\n" | |
81 #endif | |
79 ,DROPBEAR_VERSION, progname, | 82 ,DROPBEAR_VERSION, progname, |
80 #ifdef DROPBEAR_DSS | 83 #ifdef DROPBEAR_DSS |
81 DSS_PRIV_FILENAME, | 84 DSS_PRIV_FILENAME, |
82 #endif | 85 #endif |
83 #ifdef DROPBEAR_RSA | 86 #ifdef DROPBEAR_RSA |
191 #endif | 194 #endif |
192 case 'h': | 195 case 'h': |
193 printhelp(argv[0]); | 196 printhelp(argv[0]); |
194 exit(EXIT_FAILURE); | 197 exit(EXIT_FAILURE); |
195 break; | 198 break; |
199 #ifdef DEBUG_TRACE | |
200 case 'v': | |
201 debug_trace = 1; | |
202 break; | |
203 #endif | |
196 /* | 204 /* |
197 case '4': | 205 case '4': |
198 svr_opts.ipv4 = 0; | 206 svr_opts.ipv4 = 0; |
199 break; | 207 break; |
200 case '6': | 208 case '6': |