From 4d05d5efa5a1a342d36687c078e941d62e5f1726 Mon Sep 17 00:00:00 2001 From: roam Date: Fri, 13 Feb 2004 09:26:54 +0000 Subject: 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 --- libexec/bootpd/bootpd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libexec') 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"); -- cgit v1.1