Mercurial > dropbear
diff 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 |
line wrap: on
line diff
--- a/cli-runopts.c Wed Aug 18 12:42:21 2004 +0000 +++ b/cli-runopts.c Wed Aug 18 15:48:25 2004 +0000 @@ -59,6 +59,9 @@ "-R <listenport:remotehost:remoteport> Remote port forwarding\n" #endif "-l <username>\n" +#ifdef DEBUG_TRACE + "-v verbose\n" +#endif ,DROPBEAR_VERSION, cli_opts.progname); } @@ -178,6 +181,11 @@ printhelp(); exit(EXIT_SUCCESS); break; +#ifdef DEBUG_TRACE + case 'v': + debug_trace = 1; + break; +#endif case 'F': case 'e': case 'c':