summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/showmount/showmount.88
-rw-r--r--usr.bin/showmount/showmount.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/showmount/showmount.8 b/usr.bin/showmount/showmount.8
index 1047b519ba5..7c151f76b2c 100644
--- a/usr.bin/showmount/showmount.8
+++ b/usr.bin/showmount/showmount.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: showmount.8,v 1.11 2007/02/06 20:07:16 jmc Exp $
+.\" $OpenBSD: showmount.8,v 1.12 2007/03/29 11:27:33 jmc Exp $
.\" $NetBSD: showmount.8,v 1.5 1995/08/31 22:26:07 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -41,7 +41,7 @@
.Nd show remote NFS mounts on host
.Sh SYNOPSIS
.Nm showmount
-.Op Fl ade3
+.Op Fl 3ade
.Op Ar host
.Sh DESCRIPTION
.Nm
@@ -62,6 +62,8 @@ and
Appendix I,
for a detailed description of the protocol.
.Bl -tag -width Ds
+.It Fl 3
+Use mount protocol Version 3, compatible with NFS Version 3.
.It Fl a
List all mount points in the form:
.Ar host : Ns Ar dirpath .
@@ -71,8 +73,6 @@ List directory paths of mount points instead of hosts.
Show the
.Ar host Ns 's
exports list.
-.It Fl 3
-Use mount protocol Version 3, compatible with NFS Version 3.
.El
.Sh SEE ALSO
.Xr mount 8 ,
diff --git a/usr.bin/showmount/showmount.c b/usr.bin/showmount/showmount.c
index 4338359640d..eb1f09e0603 100644
--- a/usr.bin/showmount/showmount.c
+++ b/usr.bin/showmount/showmount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: showmount.c,v 1.15 2005/12/22 23:22:37 deraadt Exp $ */
+/* $OpenBSD: showmount.c,v 1.16 2007/03/29 11:27:33 jmc Exp $ */
/* $NetBSD: showmount.c,v 1.7 1996/05/01 18:14:10 cgd Exp $ */
/*
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95";
#endif
-static char rcsid[] = "$OpenBSD: showmount.c,v 1.15 2005/12/22 23:22:37 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: showmount.c,v 1.16 2007/03/29 11:27:33 jmc Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -360,7 +360,7 @@ void
usage(void)
{
- fprintf(stderr, "usage: showmount [-ade3] host\n");
+ fprintf(stderr, "usage: showmount [-3ade] [host]\n");
exit(1);
}