Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/ypserv/ypserv Add -f to usage, and make it match ma...



details:   https://anonhg.NetBSD.org/src/rev/9dbc0c44c2be
branches:  trunk
changeset: 764523:9dbc0c44c2be
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Apr 25 22:54:05 2011 +0000

description:
Add -f to usage, and make it match man page.

diffstat:

 usr.sbin/ypserv/ypserv/ypserv.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 74b705cc8f69 -r 9dbc0c44c2be usr.sbin/ypserv/ypserv/ypserv.c
--- a/usr.sbin/ypserv/ypserv/ypserv.c   Mon Apr 25 22:53:09 2011 +0000
+++ b/usr.sbin/ypserv/ypserv/ypserv.c   Mon Apr 25 22:54:05 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ypserv.c,v 1.23 2009/10/20 00:51:15 snj Exp $  */
+/*     $NetBSD: ypserv.c,v 1.24 2011/04/25 22:54:05 wiz Exp $  */
 
 /*
  * Copyright (c) 1994 Mats O Jansson <moj%stacken.kth.se@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ypserv.c,v 1.23 2009/10/20 00:51:15 snj Exp $");
+__RCSID("$NetBSD: ypserv.c,v 1.24 2011/04/25 22:54:05 wiz Exp $");
 #endif
 
 #include <sys/types.h>
@@ -438,9 +438,9 @@
 {
 
 #ifdef LIBWRAP
-#define        USAGESTR        "Usage: %s [-d] [-l] [-p <port>]\n"
+#define        USAGESTR        "Usage: %s [-dfl] [-p <port>]\n"
 #else
-#define        USAGESTR        "Usage: %s [-d] [-p <port>]\n"
+#define        USAGESTR        "Usage: %s [-df] [-p <port>]\n"
 #endif
 
        (void)fprintf(stderr, USAGESTR, getprogname());



Home | Main Index | Thread Index | Old Index