diff options
author | Gerald Carter <jerry@samba.org> | 2002-12-16 16:49:51 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-12-16 16:49:51 +0000 |
commit | 15f1f806866fe46c656759bc52105249df99e17b (patch) | |
tree | ce2e30850bf097460a40aa12f0b9c2332e92b946 /source3 | |
parent | e8b3cc8da0b1afd3b1bbd733cc751c0307e4d67d (diff) | |
download | samba-15f1f806866fe46c656759bc52105249df99e17b.tar.gz samba-15f1f806866fe46c656759bc52105249df99e17b.tar.bz2 samba-15f1f806866fe46c656759bc52105249df99e17b.zip |
fix usage message
(This used to be commit d06e77b60e123314c4214ffa3e76f70abb8a3cba)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/smbcontrol.c | 5 |
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; } |