summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-12-29 21:13:53 +0000
committerJeremy Allison <jra@samba.org>2001-12-29 21:13:53 +0000
commit0d6a1c09982f7497a4ea80f9c4db3bb249ccfa67 (patch)
tree36189a462619a98ead4dcddd60d7c647e202602a /source3/nmbd/nmbd.c
parent11b14e838988e71880e707174493da5fd3b0b75a (diff)
downloadsamba-0d6a1c09982f7497a4ea80f9c4db3bb249ccfa67.tar.gz
samba-0d6a1c09982f7497a4ea80f9c4db3bb249ccfa67.tar.bz2
samba-0d6a1c09982f7497a4ea80f9c4db3bb249ccfa67.zip
Fixup -i interactive modes.
Jeremy. (This used to be commit 9343b613d3778b0330bc4d610d3befd363797360)
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r--source3/nmbd/nmbd.c11
1 files changed, 6 insertions, 5 deletions
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;