Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/mkcsmapper Sync usage between program and man page. ...
details: https://anonhg.NetBSD.org/src/rev/1d81fcefb603
branches: trunk
changeset: 346143:1d81fcefb603
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Jun 28 09:22:16 2016 +0000
description:
Sync usage between program and man page. Increase column width.
diffstat:
usr.bin/mkcsmapper/mkcsmapper.1 | 9 +++++----
usr.bin/mkcsmapper/yacc.y | 6 +++---
2 files changed, 8 insertions(+), 7 deletions(-)
diffs (57 lines):
diff -r fb6b6312ecc3 -r 1d81fcefb603 usr.bin/mkcsmapper/mkcsmapper.1
--- a/usr.bin/mkcsmapper/mkcsmapper.1 Tue Jun 28 09:20:30 2016 +0000
+++ b/usr.bin/mkcsmapper/mkcsmapper.1 Tue Jun 28 09:22:16 2016 +0000
@@ -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 <gabor%FreeBSD.org@localhost>
.\" 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 @@
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
diff -r fb6b6312ecc3 -r 1d81fcefb603 usr.bin/mkcsmapper/yacc.y
--- a/usr.bin/mkcsmapper/yacc.y Tue Jun 28 09:20:30 2016 +0000
+++ b/usr.bin/mkcsmapper/yacc.y Tue Jun 28 09:22:16 2016 +0000
@@ -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 @@
__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);
}
Home |
Main Index |
Thread Index |
Old Index