aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-02-10 09:19:34 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-02-10 09:19:34 +0000
commit8d646af581627781d0f44bd773f64304834dd2e7 (patch)
treed6dac94023a6f3bfab88fb797e8cd641b0e912b2 /sbin/fsck
parent5bcb8532a8e86dfd432dd00a52d55465a98803ec (diff)
Sync program's usage() with manpage's SYNOPSIS.
Notes
Notes: svn path=/head/; revision=141611
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);
}