summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2007-02-20 22:23:57 +0000
committerjmc <jmc@openbsd.org>2007-02-20 22:23:57 +0000
commit3fd4512fb99fb3807a4a6f3911ef7fc0635f836e (patch)
treef02df9c7cfd17bee59e150c02b70916608c9534c /sbin/fsdb
parentKNF while in here. (diff)
downloadwireguard-openbsd-3fd4512fb99fb3807a4a6f3911ef7fc0635f836e.tar.xz
wireguard-openbsd-3fd4512fb99fb3807a4a6f3911ef7fc0635f836e.zip
clarify that -f is not optional; ok otto
Diffstat (limited to 'sbin/fsdb')
-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);
}