summaryrefslogtreecommitdiffstats
path: root/sbin/fsck
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-10 09:19:34 +0000
committerru <ru@FreeBSD.org>2005-02-10 09:19:34 +0000
commit719be5d34133092608f2cb4b6a8acd6cf2c403c6 (patch)
treed6dac94023a6f3bfab88fb797e8cd641b0e912b2 /sbin/fsck
parent7b37822a694ba18e94110b97e574dc91753e1d6c (diff)
downloadFreeBSD-src-719be5d34133092608f2cb4b6a8acd6cf2c403c6.zip
FreeBSD-src-719be5d34133092608f2cb4b6a8acd6cf2c403c6.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
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 8caf83e..b7360d9 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 291cd37..490a29a 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);
}
OpenPOWER on IntegriCloud