Sync program's usage() with manpage's SYNOPSIS.

This commit is contained in:
ru 2005-02-10 09:39:51 +00:00
parent 49669ede8f
commit 4301bdd9f9
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,4 @@
.\" $NetBSD: fsck_msdos.8,v 1.9 1997/10/17 11:19:58 ws Exp $
.\" $FreeBSD$
.\"
.\" Copyright (C) 1995 Wolfgang Solfrank
.\" Copyright (c) 1995 Martin Husemann
@ -31,6 +30,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
.\"
.Dd August 13, 1995
.Dt FSCK_MSDOSFS 8
@ -44,7 +44,7 @@
.Op Fl f
.Ar filesystem ...
.Nm
.Op Fl fny
.Op Fl ny
.Ar filesystem ...
.Sh DESCRIPTION
The

View File

@ -61,7 +61,9 @@ static void
usage(void)
{
fprintf(stderr, "usage: fsck_msdos [-fnpy] filesystem ...\n");
fprintf(stderr, "%s\n%s\n",
"usage: fsck_msdosfs -p [-f] filesystem ...",
" fsck_msdosfs [-ny] filesystem ...");
exit(1);
}