summaryrefslogtreecommitdiff
path: root/source3/utils/smbcontrol.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-12-16 16:48:23 +0000
committerGerald Carter <jerry@samba.org>2002-12-16 16:48:23 +0000
commit636adbff27d0c29ed34bfd604a5dc1b62b4b9f0b (patch)
tree4421507b0d99f8746594e6fd4815d1da6bf78fab /source3/utils/smbcontrol.c
parent48fb7b090ef227b225ae4e67a08088d0f75e59cd (diff)
downloadsamba-636adbff27d0c29ed34bfd604a5dc1b62b4b9f0b.tar.gz
samba-636adbff27d0c29ed34bfd604a5dc1b62b4b9f0b.tar.bz2
samba-636adbff27d0c29ed34bfd604a5dc1b62b4b9f0b.zip
fix usage message
(This used to be commit e68c7e0ebc053b97abf9c8a8213f305679ef000d)
Diffstat (limited to 'source3/utils/smbcontrol.c')
-rw-r--r--source3/utils/smbcontrol.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 933cabdb4b..72ac2dd095 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -66,9 +66,9 @@ static void usage(BOOL doexit)
printf("<destination> <message-type> <parameters>\n\n");
}
printf("\t<destination> is one of \"nmbd\", \"smbd\" or a process ID\n");
- printf("\t<message-type> is one of: ");
+ printf("\t<message-type> is one of:\n");
for (i=0; msg_types[i].name; i++)
- printf("%s%s", i?", ":"",msg_types[i].name);
+ printf("\t\t%s\n", msg_types[i].name);
printf("\n");
if (doexit) exit(1);
}
@@ -380,6 +380,7 @@ static BOOL do_command(char *dest, char *msg_name, int iparams, char **params)
fprintf(stderr, "\tjobpause <printername> <unix jobid>\n");
fprintf(stderr, "\tjobresume <printername> <unix jobid>\n");
fprintf(stderr, "\tjobdelete <printername> <unix jobid>\n");
+ fprintf(stderr, "\tprinter <printername> <comment|port|driver> <new value>\n");
return False;
}