mirror of
https://github.com/samba-team/samba.git
synced 2025-02-08 05:57:51 +03:00
fix usage message
(This used to be commit e68c7e0ebc053b97abf9c8a8213f305679ef000d)
This commit is contained in:
parent
48fb7b090e
commit
636adbff27
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user