Add the '-h hostname' to usage(), too.
While I'm here, sync the usage() synopsis with the manual page synopsis: make the [-i | -s] explicit and sort the options alphabetically. Reminded by: ru MFC after: 3 days
This commit is contained in:
parent
ea234afcbd
commit
4d05d5efa5
@ -581,9 +581,11 @@ PRIVATE void
|
||||
usage()
|
||||
{
|
||||
fprintf(stderr,
|
||||
"usage: bootpd [-d level] [-i] [-s] [-t timeout] [configfile [dumpfile]]\n");
|
||||
"usage: bootpd [-i | -s] [-c chdir-path] [-d level] [-h hostname] [-t timeout]\n");
|
||||
fprintf(stderr, " [bootptab [dumpfile]]\n");
|
||||
fprintf(stderr, "\t -c n\tset current directory\n");
|
||||
fprintf(stderr, "\t -d n\tset debug level\n");
|
||||
fprintf(stderr, "\t -h n\tset the hostname to listen on\n");
|
||||
fprintf(stderr, "\t -i\tforce inetd mode (run as child of inetd)\n");
|
||||
fprintf(stderr, "\t -s\tforce standalone mode (run without inetd)\n");
|
||||
fprintf(stderr, "\t -t n\tset inetd exit timeout to n minutes\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user