summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-06-29 12:51:27 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-06-29 12:51:27 +0000
commit9c4c72335deb5232c43e82fddfcbe6bd53cf028f (patch)
tree2363975273ad62d35665aa1ab2d28fdc85db130b /sbin
parent0a2180b411e9925b5941e5123d274bfcb88e82bf (diff)
[-t ufs | lfs | external_type] -> [-t type]
syncs it w/ mount(8) too; suggested by martin usage() update
Diffstat (limited to 'sbin')
-rw-r--r--sbin/umount/umount.88
-rw-r--r--sbin/umount/umount.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sbin/umount/umount.8 b/sbin/umount/umount.8
index 55d26a1124e..c3d78f47e06 100644
--- a/sbin/umount/umount.8
+++ b/sbin/umount/umount.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: umount.8,v 1.12 2005/12/30 16:54:27 jmc Exp $
+.\" $OpenBSD: umount.8,v 1.13 2006/06/29 12:51:26 jmc Exp $
.\" $NetBSD: umount.8,v 1.2 1995/03/18 15:01:35 cgd Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
@@ -44,7 +44,7 @@
.Fl a
.Op Fl fv
.Op Fl h Ar host
-.Op Fl t Ar ufs | lfs | external_type
+.Op Fl t Ar type
.Sh DESCRIPTION
The
.Nm
@@ -83,8 +83,8 @@ This option implies the
option and, unless otherwise specified with the
.Fl t
option, will only unmount NFS filesystems.
-.It Fl t Ar "ufs \\*(Ba lfs \\*(Ba external type"
-Is used to indicate the actions should only be taken on
+.It Fl t Ar type
+Indicates that actions should only be taken on
filesystems of the specified type.
More than one type may be specified in a comma separated list.
The list of filesystem types can be prefixed with
diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c
index 61ac79c2144..143520626e1 100644
--- a/sbin/umount/umount.c
+++ b/sbin/umount/umount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umount.c,v 1.16 2003/07/29 18:38:36 deraadt Exp $ */
+/* $OpenBSD: umount.c,v 1.17 2006/06/29 12:51:26 jmc Exp $ */
/* $NetBSD: umount.c,v 1.16 1996/05/11 14:13:55 mycroft Exp $ */
/*-
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)umount.c 8.3 (Berkeley) 2/20/94";
#else
-static char rcsid[] = "$OpenBSD: umount.c,v 1.16 2003/07/29 18:38:36 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: umount.c,v 1.17 2006/06/29 12:51:26 jmc Exp $";
#endif
#endif /* not lint */
@@ -389,7 +389,7 @@ usage(void)
{
(void)fprintf(stderr,
"usage: %s\n %s\n",
- "umount [-fv] [-t fstypelist] special | node",
- "umount -a[fv] [-h host] [-t fstypelist]");
+ "umount [-fv] special | node",
+ "umount -a [-fv] [-h host] [-t type]");
exit(1);
}