diff 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
line wrap: on
line diff
--- a/svr-runopts.c	Wed Aug 18 12:42:21 2004 +0000
+++ b/svr-runopts.c	Wed Aug 18 15:48:25 2004 +0000
@@ -76,6 +76,9 @@
 #ifdef INETD_MODE
 					"-i		Start for inetd\n"
 #endif
+#ifdef DEBUG_TRACE
+					"-v		verbose\n"
+#endif
 					,DROPBEAR_VERSION, progname,
 #ifdef DROPBEAR_DSS
 					DSS_PRIV_FILENAME,
@@ -193,6 +196,11 @@
 					printhelp(argv[0]);
 					exit(EXIT_FAILURE);
 					break;
+#ifdef DEBUG_TRACE
+				case 'v':
+					debug_trace = 1;
+					break;
+#endif
 					/*
 				case '4':
 					svr_opts.ipv4 = 0;