Module Name:    src
Committed By:   wiz
Date:           Mon Jan 22 10:41:18 UTC 2018

Modified Files:
        src/sbin/mount_autofs: mount_autofs.8 mount_autofs.c

Log Message:
Sync usage with man page.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sbin/mount_autofs/mount_autofs.8
cvs rdiff -u -r1.1 -r1.2 src/sbin/mount_autofs/mount_autofs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/mount_autofs/mount_autofs.8
diff -u src/sbin/mount_autofs/mount_autofs.8:1.3 src/sbin/mount_autofs/mount_autofs.8:1.4
--- src/sbin/mount_autofs/mount_autofs.8:1.3	Mon Jan 22 10:40:22 2018
+++ src/sbin/mount_autofs/mount_autofs.8	Mon Jan 22 10:41:18 2018
@@ -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

Index: src/sbin/mount_autofs/mount_autofs.c
diff -u src/sbin/mount_autofs/mount_autofs.c:1.1 src/sbin/mount_autofs/mount_autofs.c:1.2
--- src/sbin/mount_autofs/mount_autofs.c:1.1	Sun Jan 14 22:44:04 2018
+++ src/sbin/mount_autofs/mount_autofs.c	Mon Jan 22 10:41:18 2018
@@ -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 @@ static void
 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);
 }

Reply via email to