Source-Changes-HG archive

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

[src/trunk]: src Sync usage with man page.



details:   https://anonhg.NetBSD.org/src/rev/c7e9c051da64
branches:  trunk
changeset: 584478:c7e9c051da64
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Sep 19 22:43:21 2005 +0000

description:
Sync usage with man page.

diffstat:

 usr.bin/skeyinit/skeyinit.c |  8 +++++---
 usr.sbin/mountd/mountd.c    |  8 ++++----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r 51418fb2235b -r c7e9c051da64 usr.bin/skeyinit/skeyinit.c
--- a/usr.bin/skeyinit/skeyinit.c       Mon Sep 19 22:43:13 2005 +0000
+++ b/usr.bin/skeyinit/skeyinit.c       Mon Sep 19 22:43:21 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: skeyinit.c,v 1.25 2005/09/18 21:50:20 elad Exp $       */
+/*     $NetBSD: skeyinit.c,v 1.26 2005/09/19 22:45:27 wiz Exp $        */
 
 /* S/KEY v1.1b (skeyinit.c)
  *
@@ -17,7 +17,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: skeyinit.c,v 1.25 2005/09/18 21:50:20 elad Exp $");
+__RCSID("$NetBSD: skeyinit.c,v 1.26 2005/09/19 22:45:27 wiz Exp $");
 #endif
 
 #include <sys/param.h>
@@ -136,7 +136,9 @@
                                zerokey = 1;
                                break;
                        default:
-                               errx(1, "usage: %s [-n count] [-t md4|md5|sha1] [-s] [-x] [-z] [user]", argv[0]);
+                               errx(1, "usage: %s skeyinit [-sxz] [-k passphrase] "
+                                   "[-n count] [-p password] [-t hash] [user]",
+                                   argv[0]);
                }
        }
 
diff -r 51418fb2235b -r c7e9c051da64 usr.sbin/mountd/mountd.c
--- a/usr.sbin/mountd/mountd.c  Mon Sep 19 22:43:13 2005 +0000
+++ b/usr.sbin/mountd/mountd.c  Mon Sep 19 22:43:21 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mountd.c,v 1.96 2005/09/19 00:59:56 christos Exp $      */
+/*     $NetBSD: mountd.c,v 1.97 2005/09/19 22:43:21 wiz Exp $   */
 
 /*
  * Copyright (c) 1989, 1993
@@ -47,7 +47,7 @@
 #if 0
 static char     sccsid[] = "@(#)mountd.c  8.15 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: mountd.c,v 1.96 2005/09/19 00:59:56 christos Exp $");
+__RCSID("$NetBSD: mountd.c,v 1.97 2005/09/19 22:43:21 wiz Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -329,9 +329,9 @@
                default:
                        fprintf(stderr, "usage: %s [-dNn]"
 #ifdef IPSEC
-                           " [-P ipsec policy]"
+                           " [-P policy]"
 #endif
-                           " [export_file]\n", getprogname());
+                           " [-p port] [exportsfile]\n", getprogname());
                        exit(1);
                };
        argc -= optind;



Home | Main Index | Thread Index | Old Index