From 9c4c72335deb5232c43e82fddfcbe6bd53cf028f Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Thu, 29 Jun 2006 12:51:27 +0000 Subject: [-t ufs | lfs | external_type] -> [-t type] syncs it w/ mount(8) too; suggested by martin usage() update --- sbin/umount/umount.8 | 8 ++++---- sbin/umount/umount.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sbin/umount') 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); } -- cgit v1.2.3