diff options
author | 2009-01-04 18:42:32 +0000 | |
---|---|---|
committer | 2009-01-04 18:42:32 +0000 | |
commit | 36b5af573dce044b6ae536ebfc5154f19e6ff8ad (patch) | |
tree | 0d73b8ffe270d3ac466bef0f2fa0866ae6a776e4 | |
parent | don't panic in run_delete_key_cb() when detaching the adapter from the (diff) | |
download | wireguard-openbsd-36b5af573dce044b6ae536ebfc5154f19e6ff8ad.tar.xz wireguard-openbsd-36b5af573dce044b6ae536ebfc5154f19e6ff8ad.zip |
sync the synopsis and usage of the command; "usage:" is lowercase.
tweaked and ok by jmc@
-rw-r--r-- | usr.bin/gencat/gencat.1 | 21 | ||||
-rw-r--r-- | usr.bin/gencat/gencat.c | 6 |
2 files changed, 13 insertions, 14 deletions
diff --git a/usr.bin/gencat/gencat.1 b/usr.bin/gencat/gencat.1 index decb415ec62..81ec5136526 100644 --- a/usr.bin/gencat/gencat.1 +++ b/usr.bin/gencat/gencat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gencat.1,v 1.13 2009/01/04 11:19:55 sobrado Exp $ +.\" $OpenBSD: gencat.1,v 1.14 2009/01/04 18:42:32 sobrado Exp $ .\" .\" Copyright (c) 1997 Ken Stailey .\" @@ -24,7 +24,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. .\" -.\" $Id: gencat.1,v 1.13 2009/01/04 11:19:55 sobrado Exp $ +.\" $Id: gencat.1,v 1.14 2009/01/04 18:42:32 sobrado Exp $ .\" .Dd $Mdocdate: January 4 2009 $ .Dt GENCAT 1 @@ -34,26 +34,25 @@ .Nd NLS catalog compiler .Sh SYNOPSIS .Nm gencat -.Ar output-file -.Ar input-file Op Ar ... +.Ar catfile msgfile ... .Sh DESCRIPTION The .Nm utility merges the text NLS (National Language Support) in -.Ar input-file +.Ar msgfile into a formatted message catalog file -.Ar output-file . +.Ar catfile . The file -.Ar output-file +.Ar catfile will be created if it does not already exist. If -.Ar output-file +.Ar catfile does exist, its messages will be included in the new -.Ar output-file . +.Ar catfile . If set and message numbers collide, the new message text defined in -.Ar input-file +.Ar msgfile will replace the old message text currently contained in -.Ar output-file . +.Ar catfile . .Sh INPUT FILES The format of a message text source file is defined below. Note that the fields of a message text source line are separated by a diff --git a/usr.bin/gencat/gencat.c b/usr.bin/gencat/gencat.c index 4d72262901d..823c8cd73cc 100644 --- a/usr.bin/gencat/gencat.c +++ b/usr.bin/gencat/gencat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gencat.c,v 1.11 2008/06/26 05:42:21 ray Exp $ */ +/* $OpenBSD: gencat.c,v 1.12 2009/01/04 18:42:32 sobrado Exp $ */ /* $NetBSD: gencat.c,v 1.9 1998/10/09 17:00:56 itohy Exp $ */ /*- @@ -33,7 +33,7 @@ #include <sys/cdefs.h> #ifndef lint static const char rcsid[] = - "$OpenBSD: gencat.c,v 1.11 2008/06/26 05:42:21 ray Exp $"; + "$OpenBSD: gencat.c,v 1.12 2009/01/04 18:42:32 sobrado Exp $"; #endif /* not lint */ /*********************************************************** @@ -131,7 +131,7 @@ void usage(void); void usage(void) { - fprintf(stderr, "Usage: %s catfile msgfile ...\n", __progname); + fprintf(stderr, "usage: %s catfile msgfile ...\n", __progname); exit(1); } |