diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-25 16:48:47 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-25 16:48:47 +0000 |
commit | 5bd552c5e23cc31b2d1fb53d7cf63863e33d3515 (patch) | |
tree | 39db70b71dab83270ca28c74ef65f437a2d346c8 /sbin/dump | |
parent | d5068f36da97579e535ef99cd3b9df44d29fcebd (diff) |
the -W and -w flags do not need a separate synopsis;
Diffstat (limited to 'sbin/dump')
-rw-r--r-- | sbin/dump/dump.8 | 8 | ||||
-rw-r--r-- | sbin/dump/main.c | 13 |
2 files changed, 11 insertions, 10 deletions
diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8 index 0b494e8e4fb..7f803873b81 100644 --- a/sbin/dump/dump.8 +++ b/sbin/dump/dump.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dump.8,v 1.38 2007/02/25 16:29:49 jmc Exp $ +.\" $OpenBSD: dump.8,v 1.39 2007/02/25 16:48:46 jmc Exp $ .\" $NetBSD: dump.8,v 1.17 1997/06/05 11:15:06 lukem Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -39,7 +39,8 @@ .Nd filesystem backup .Sh SYNOPSIS .Nm dump -.Op Fl 0123456789acnu +.Bk -words +.Op Fl 0123456789acnuWw .Op Fl B Ar records .Op Fl b Ar blocksize .Op Fl d Ar density @@ -48,8 +49,7 @@ .Op Fl s Ar feet .Op Fl T Ar date .Ar files-to-dump -.Nm dump -.Op Fl W Li \&| Fl w +.Ek .Sh DESCRIPTION .Nm examines files diff --git a/sbin/dump/main.c b/sbin/dump/main.c index 37bb79c0d79..3da22392f8a 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.38 2005/05/24 21:28:50 moritz Exp $ */ +/* $OpenBSD: main.c,v 1.39 2007/02/25 16:48:46 jmc Exp $ */ /* $NetBSD: main.c,v 1.14 1997/06/05 11:13:24 lukem Exp $ */ /*- @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 4/15/94"; #else -static const char rcsid[] = "$OpenBSD: main.c,v 1.38 2005/05/24 21:28:50 moritz Exp $"; +static const char rcsid[] = "$OpenBSD: main.c,v 1.39 2007/02/25 16:48:46 jmc Exp $"; #endif #endif /* not lint */ @@ -559,10 +559,11 @@ usage(void) { extern char *__progname; - (void)fprintf(stderr, "usage: %s [-0123456789acnu] [-B records]" - "[-b blocksize] [-d density] [-f file]\n" - " [-h level] [-s feet] [-T date] filesystem\n" - " %s [-W | -w]\n", __progname, __progname); + (void)fprintf(stderr, "usage: %s [-0123456789acnuWw] [-B records] " + "[-b blocksize] [-d density]\n" + "\t[-f file] [-h level] [-s feet] " + "[-T date] files-to-dump\n", + __progname); exit(X_STARTUP); } |