summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2011-06-20 15:22:47 +0000
committerkuriyama <kuriyama@FreeBSD.org>2011-06-20 15:22:47 +0000
commitaf386cd786d8211a7f318adb46f95e81139ec22d (patch)
treeccc6763aa0bca99eb79650b998ad9ed879666afa /usr.sbin/ypserv
parent98020d5ece0425bf8de3c55c67dec0bfbb94d8f7 (diff)
downloadFreeBSD-src-af386cd786d8211a7f318adb46f95e81139ec22d.zip
FreeBSD-src-af386cd786d8211a7f318adb46f95e81139ec22d.tar.gz
Add missing argument for -h in usage.
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/yp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/yp_main.c b/usr.sbin/ypserv/yp_main.c
index ec39d1b..057174b 100644
--- a/usr.sbin/ypserv/yp_main.c
+++ b/usr.sbin/ypserv/yp_main.c
@@ -216,7 +216,7 @@ reaper(int sig)
static void
usage(void)
{
- fprintf(stderr, "usage: ypserv [-h] [-d] [-n] [-p path] [-P port]\n");
+ fprintf(stderr, "usage: ypserv [-h addr] [-d] [-n] [-p path] [-P port]\n");
exit(1);
}
OpenPOWER on IntegriCloud