aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck')
-rw-r--r--sbin/fsck/fsck.86
-rw-r--r--sbin/fsck/fsck.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/fsck/fsck.8 b/sbin/fsck/fsck.8
index 8caf83e4024d..b7360d9bd8c0 100644
--- a/sbin/fsck/fsck.8
+++ b/sbin/fsck/fsck.8
@@ -37,11 +37,11 @@
.Nd file system consistency check and interactive repair
.Sh SYNOPSIS
.Nm
-.Op Fl dvpfyn
+.Op Fl dfnpvy
.Op Fl B | F
-.Op Fl t Ar fstype
.Op Fl T Ar fstype : Ns Ar fsoptions
-.Op Ar special | node ...
+.Op Fl t Ar fstype
+.Oo Ar special | node Oc ...
.Sh DESCRIPTION
The
.Nm
diff --git a/sbin/fsck/fsck.c b/sbin/fsck/fsck.c
index 291cd3780224..490a29af919a 100644
--- a/sbin/fsck/fsck.c
+++ b/sbin/fsck/fsck.c
@@ -566,9 +566,9 @@ static void
usage(void)
{
static const char common[] =
- "[-BFdfnpvy] [-T fstype:fsoptions] [-t fstype]";
+ "[-dfnpvy] [-B | -F] [-T fstype:fsoptions] [-t fstype]";
- (void)fprintf(stderr, "usage: %s %s [special|node]...\n",
+ (void)fprintf(stderr, "usage: %s %s [special | node] ...\n",
getprogname(), common);
exit(1);
}