diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ypserv/ypserv/ypserv.8 | 6 | ||||
-rw-r--r-- | usr.sbin/ypserv/ypserv/ypserv.c | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/usr.sbin/ypserv/ypserv/ypserv.8 b/usr.sbin/ypserv/ypserv/ypserv.8 index 2fb1003c057..3eb2c85df8e 100644 --- a/usr.sbin/ypserv/ypserv/ypserv.8 +++ b/usr.sbin/ypserv/ypserv/ypserv.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ypserv.8,v 1.22 2003/06/12 12:59:54 jmc Exp $ +.\" $OpenBSD: ypserv.8,v 1.23 2007/02/18 23:34:57 jmc Exp $ .\" .\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> .\" All rights reserved. @@ -32,10 +32,8 @@ .Nd YP server daemon .Sh SYNOPSIS .Nm ypserv -.Op Fl 1 +.Op Fl 1dx .Op Fl a Ar aclfile -.Op Fl d -.Op Fl x .Sh DESCRIPTION .Nm is a fundamental part of the network information system called YP. diff --git a/usr.sbin/ypserv/ypserv/ypserv.c b/usr.sbin/ypserv/ypserv/ypserv.c index f54e525c326..fb38c253b1e 100644 --- a/usr.sbin/ypserv/ypserv/ypserv.c +++ b/usr.sbin/ypserv/ypserv/ypserv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypserv.c,v 1.34 2006/04/03 05:01:24 deraadt Exp $ */ +/* $OpenBSD: ypserv.c,v 1.35 2007/02/18 23:34:57 jmc Exp $ */ /* * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> @@ -27,7 +27,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: ypserv.c,v 1.34 2006/04/03 05:01:24 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: ypserv.c,v 1.35 2007/02/18 23:34:57 jmc Exp $"; #endif #include <sys/types.h> @@ -382,7 +382,7 @@ my_svc_run(void) static void usage(void) { - (void)fprintf(stderr, "usage: ypserv [-a aclfile] [-d] [-x]\n"); + (void)fprintf(stderr, "usage: ypserv [-1dx] [-a aclfile]\n"); exit(1); } |