comparison cli-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 eee77ac31ccc
children 68b84c20ca1e
comparison
equal deleted inserted replaced
93:5dda5a4d475c 94:c85c88500ea6
57 #endif 57 #endif
58 #ifdef ENABLE_CLI_REMOTETCPFWD 58 #ifdef ENABLE_CLI_REMOTETCPFWD
59 "-R <listenport:remotehost:remoteport> Remote port forwarding\n" 59 "-R <listenport:remotehost:remoteport> Remote port forwarding\n"
60 #endif 60 #endif
61 "-l <username>\n" 61 "-l <username>\n"
62 #ifdef DEBUG_TRACE
63 "-v verbose\n"
64 #endif
62 ,DROPBEAR_VERSION, cli_opts.progname); 65 ,DROPBEAR_VERSION, cli_opts.progname);
63 } 66 }
64 67
65 void cli_getopts(int argc, char ** argv) { 68 void cli_getopts(int argc, char ** argv) {
66 69
176 break; 179 break;
177 case 'h': 180 case 'h':
178 printhelp(); 181 printhelp();
179 exit(EXIT_SUCCESS); 182 exit(EXIT_SUCCESS);
180 break; 183 break;
184 #ifdef DEBUG_TRACE
185 case 'v':
186 debug_trace = 1;
187 break;
188 #endif
181 case 'F': 189 case 'F':
182 case 'e': 190 case 'e':
183 case 'c': 191 case 'c':
184 case 'm': 192 case 'm':
185 case 'D': 193 case 'D':