summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-02-20 22:23:58 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-02-20 22:23:58 +0000
commit1a180a3d88f4493cf58ec5e8ef80bb6723c0cef7 (patch)
tree342d7e2fad68343481dffc80a16f1fd509b76d75
parent7de550dee107704f1c2d5758b1697d92de6b6132 (diff)
clarify that -f is not optional; ok otto
-rw-r--r--sbin/fsdb/fsdb.85
-rw-r--r--sbin/fsdb/fsdb.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/sbin/fsdb/fsdb.8 b/sbin/fsdb/fsdb.8
index 32dfeb79a7a..0e6d65c574d 100644
--- a/sbin/fsdb/fsdb.8
+++ b/sbin/fsdb/fsdb.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fsdb.8,v 1.14 2002/12/15 22:52:57 fgsch Exp $
+.\" $OpenBSD: fsdb.8,v 1.15 2007/02/20 22:23:57 jmc Exp $
.\" $NetBSD: fsdb.8,v 1.5 1997/01/11 05:51:40 lukem Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -70,6 +70,9 @@ The options are as follows:
Enables additional debugging output (which comes primarily from
.Xr fsck 8 -derived
code).
+.It Fl f Ar fsname
+Open file system
+.Ar fsname .
.El
.Pp
Besides the built-in
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c
index 53179b750a4..cd8adb5ba1a 100644
--- a/sbin/fsdb/fsdb.c
+++ b/sbin/fsdb/fsdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fsdb.c,v 1.18 2004/03/19 14:16:01 aaron Exp $ */
+/* $OpenBSD: fsdb.c,v 1.19 2007/02/20 22:23:57 jmc Exp $ */
/* $NetBSD: fsdb.c,v 1.7 1997/01/11 06:50:53 lukem Exp $ */
/*-
@@ -38,7 +38,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: fsdb.c,v 1.18 2004/03/19 14:16:01 aaron Exp $";
+static const char rcsid[] = "$OpenBSD: fsdb.c,v 1.19 2007/02/20 22:23:57 jmc Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -86,7 +86,7 @@ ino_t curinum;
static void
usage(void)
{
- fprintf(stderr, "usage: %s [-d] -f <fsname>\n", __progname);
+ fprintf(stderr, "usage: %s [-d] -f fsname\n", __progname);
exit(1);
}