Module Name: src
Committed By: wiz
Date: Tue Jun 28 09:22:16 UTC 2016
Modified Files:
src/usr.bin/mkcsmapper: mkcsmapper.1 yacc.y
Log Message:
Sync usage between program and man page. Increase column width.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/mkcsmapper/mkcsmapper.1
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/mkcsmapper/yacc.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/mkcsmapper/mkcsmapper.1
diff -u src/usr.bin/mkcsmapper/mkcsmapper.1:1.2 src/usr.bin/mkcsmapper/mkcsmapper.1:1.3
--- src/usr.bin/mkcsmapper/mkcsmapper.1:1.2 Tue Jun 28 09:20:30 2016
+++ src/usr.bin/mkcsmapper/mkcsmapper.1 Tue Jun 28 09:22:16 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: mkcsmapper.1,v 1.2 2016/06/28 09:20:30 wiz Exp $
+.\" $NetBSD: mkcsmapper.1,v 1.3 2016/06/28 09:22:16 wiz Exp $
.\"
.\" Copyright (c) 2009 Gabor Kovesdan <[email protected]>
.\" All rights reserved.
@@ -45,8 +45,9 @@
.Xr iconv 3
.Sh SYNOPSIS
.Nm
-.Op Fl dmp
-.Fl o Ar outfile
+.Op Fl d
+.Op Fl m | Fl p
+.Op Fl o Ar outfile
.Ar infile
.Sh DESCRIPTION
The
@@ -61,7 +62,7 @@ A pivot file, which the possible source
pairs or the set of mappings to use for a compound encoding.
.Pp
The following options are available:
-.Bl -tag -width 0123
+.Bl -tag -width XoXoutfileXX
.It Fl d
Turns on debug mode.
.It Fl m
Index: src/usr.bin/mkcsmapper/yacc.y
diff -u src/usr.bin/mkcsmapper/yacc.y:1.10 src/usr.bin/mkcsmapper/yacc.y:1.11
--- src/usr.bin/mkcsmapper/yacc.y:1.10 Tue Jun 16 22:54:10 2015
+++ src/usr.bin/mkcsmapper/yacc.y Tue Jun 28 09:22:16 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: yacc.y,v 1.10 2015/06/16 22:54:10 christos Exp $ */
+/* $NetBSD: yacc.y,v 1.11 2016/06/28 09:22:16 wiz Exp $ */
%{
/*-
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: yacc.y,v 1.10 2015/06/16 22:54:10 christos Exp $");
+__RCSID("$NetBSD: yacc.y,v 1.11 2016/06/28 09:22:16 wiz Exp $");
#endif /* not lint */
#include <assert.h>
@@ -673,7 +673,7 @@ do_mkpv(FILE *in)
__dead static void
usage(void)
{
- fprintf(stderr, "Usage: %s [-m|-p] [-d] [-o outfile] [infile]\n",
+ fprintf(stderr, "Usage: %s [-d] [-m|-p] [-o outfile] [infile]\n",
getprogname());
exit(EXIT_FAILURE);
}