diff options
author | roam <roam@FreeBSD.org> | 2004-02-13 09:26:54 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2004-02-13 09:26:54 +0000 |
commit | 4d05d5efa5a1a342d36687c078e941d62e5f1726 (patch) | |
tree | 9f5b3ed68ea84b1d38f2ae07306310ffd871515c /libexec/bootpd | |
parent | ea234afcbdf52752a6c2d2db8720a386e656a0d1 (diff) | |
download | FreeBSD-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.c | 4 |
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"); |