Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/ypserv/ypxfr Make usage match manpage.



details:   https://anonhg.NetBSD.org/src/rev/ff41a15aee48
branches:  trunk
changeset: 764521:ff41a15aee48
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Apr 25 22:51:26 2011 +0000

description:
Make usage match manpage.

diffstat:

 usr.sbin/ypserv/ypxfr/ypxfr.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 2ea313bfa8e9 -r ff41a15aee48 usr.sbin/ypserv/ypxfr/ypxfr.c
--- a/usr.sbin/ypserv/ypxfr/ypxfr.c     Mon Apr 25 22:49:06 2011 +0000
+++ b/usr.sbin/ypserv/ypxfr/ypxfr.c     Mon Apr 25 22:51:26 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ypxfr.c,v 1.19 2009/11/05 21:26:25 chuck Exp $ */
+/*     $NetBSD: ypxfr.c,v 1.20 2011/04/25 22:51:26 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: ypxfr.c,v 1.19 2009/11/05 21:26:25 chuck Exp $");
+__RCSID("$NetBSD: ypxfr.c,v 1.20 2011/04/25 22:51:26 wiz Exp $");
 #endif
 
 #include <sys/param.h>
@@ -148,9 +148,9 @@
 
        if (need_usage) {
                status = YPPUSH_BADARGS;
-               fprintf(stderr, "usage: %s [-cf] [-d domain] [-h host] %s\n",
-                  getprogname(),
-                  "[-s domain] [-C tid prog ipadd port] mapname");
+               fprintf(stderr, "usage: %s [-cf] [-C tid prog ipadd port] "
+                       "[-d domain] [-h host] [-s domain] mapname\n",
+                       getprogname());
                exit(1);
        }
 



Home | Main Index | Thread Index | Old Index