From 0d6a1c09982f7497a4ea80f9c4db3bb249ccfa67 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 29 Dec 2001 21:13:53 +0000 Subject: Fixup -i interactive modes. Jeremy. (This used to be commit 9343b613d3778b0330bc4d610d3befd363797360) --- source3/nmbd/nmbd.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source3/nmbd') diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 80d712036d..29b6c0347a 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -634,10 +634,11 @@ static BOOL init_structs(void) static void usage(char *pname) { - printf( "Usage: %s [-DaohV] [-H lmhosts file] [-d debuglevel] [-l log basename]\n", pname ); + printf( "Usage: %s [-DaiohV] [-H lmhosts file] [-d debuglevel] [-l log basename]\n", pname ); printf( " [-n name] [-p port] [-s configuration file]\n" ); - printf( "\t-D Become a daemon\n" ); + printf( "\t-D Become a daemon (default)\n" ); printf( "\t-a Append to log file (default)\n" ); + printf( "\t-i Run interactive (not a daemon)\n" ); printf( "\t-o Overwrite log file, don't append\n" ); printf( "\t-h Print usage\n" ); printf( "\t-V Print version\n" ); @@ -717,9 +718,9 @@ static void usage(char *pname) case 'G': DEBUG(0,("Obsolete option '%c' used\n",opt)); break; - case 'i': - opt_interactive = True; - break; + case 'i': + opt_interactive = True; + break; case 'H': pstrcpy(dyn_LMHOSTSFILE, optarg); break; -- cgit