summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2004-02-13 09:26:54 +0000
committerroam <roam@FreeBSD.org>2004-02-13 09:26:54 +0000
commit4d05d5efa5a1a342d36687c078e941d62e5f1726 (patch)
tree9f5b3ed68ea84b1d38f2ae07306310ffd871515c /libexec/bootpd
parentea234afcbdf52752a6c2d2db8720a386e656a0d1 (diff)
downloadFreeBSD-src-4d05d5efa5a1a342d36687c078e941d62e5f1726.zip
FreeBSD-src-4d05d5efa5a1a342d36687c078e941d62e5f1726.tar.gz
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
Diffstat (limited to 'libexec/bootpd')
-rw-r--r--libexec/bootpd/bootpd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/bootpd/bootpd.c b/libexec/bootpd/bootpd.c
index 5018340..c907ddf 100644
--- a/libexec/bootpd/bootpd.c
+++ b/libexec/bootpd/bootpd.c
@@ -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");
OpenPOWER on IntegriCloud