Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/da241e555faf
branches:  trunk
changeset: 829215:da241e555faf
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Jan 22 10:41:18 2018 +0000

description:
Sync usage with man page.

diffstat:

 sbin/mount_autofs/mount_autofs.8 |  4 ++--
 sbin/mount_autofs/mount_autofs.c |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r b04adabdb566 -r da241e555faf sbin/mount_autofs/mount_autofs.8
--- a/sbin/mount_autofs/mount_autofs.8  Mon Jan 22 10:40:36 2018 +0000
+++ b/sbin/mount_autofs/mount_autofs.8  Mon Jan 22 10:41:18 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: mount_autofs.8,v 1.3 2018/01/22 10:40:22 wiz Exp $
+.\" $NetBSD: mount_autofs.8,v 1.4 2018/01/22 10:41:18 wiz Exp $
 .\"
 .\" Copyright (c) 2018 The DragonFly Project
 .\" All rights reserved.
@@ -35,7 +35,7 @@
 .Op Fl f Ar from
 .Op Fl O Ar master_options
 .Op Fl o Ar options
-.Op Fl p Ar master_prefix
+.Op Fl p Ar prefix
 .Ar autofs
 .Ar mount_point
 .Sh DESCRIPTION
diff -r b04adabdb566 -r da241e555faf sbin/mount_autofs/mount_autofs.c
--- a/sbin/mount_autofs/mount_autofs.c  Mon Jan 22 10:40:36 2018 +0000
+++ b/sbin/mount_autofs/mount_autofs.c  Mon Jan 22 10:41:18 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mount_autofs.c,v 1.1 2018/01/14 22:44:04 christos Exp $        */
+/*     $NetBSD: mount_autofs.c,v 1.2 2018/01/22 10:41:18 wiz Exp $     */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mount_autofs.c,v 1.1 2018/01/14 22:44:04 christos Exp $");
+__RCSID("$NetBSD: mount_autofs.c,v 1.2 2018/01/22 10:41:18 wiz Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -140,7 +140,7 @@
 usage(void)
 {
        (void)fprintf(stderr,
-           "Usage: %s [-o options] [-O autofs_options] [-p <prefix>] "
-               "[-f <from>] autofs mount_point\n", getprogname());
+           "Usage: %s [-f from] [-O autofs_options] [-o options] [-p prefix] "
+               "autofs mount_point\n", getprogname());
        exit(EXIT_FAILURE);
 }



Home | Main Index | Thread Index | Old Index