Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/tic Note that -a no longer sets -x.
details: https://anonhg.NetBSD.org/src/rev/7486ec4d1f97
branches: trunk
changeset: 751485:7486ec4d1f97
user: roy <roy%NetBSD.org@localhost>
date: Fri Feb 05 16:36:09 2010 +0000
description:
Note that -a no longer sets -x.
diffstat:
usr.bin/tic/tic.1 | 9 ++-------
usr.bin/tic/tic.c | 13 ++++++-------
2 files changed, 8 insertions(+), 14 deletions(-)
diffs (73 lines):
diff -r 7aa0759bd9c7 -r 7486ec4d1f97 usr.bin/tic/tic.1
--- a/usr.bin/tic/tic.1 Fri Feb 05 16:34:04 2010 +0000
+++ b/usr.bin/tic/tic.1 Fri Feb 05 16:36:09 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: tic.1,v 1.2 2010/02/03 15:51:09 wiz Exp $
+.\" $NetBSD: tic.1,v 1.3 2010/02/05 16:36:09 roy Exp $
.\"
.\" Copyright (c) 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 17, 2009
+.Dd February 5, 2009
.Dt TIC 1
.Os
.Sh NAME
@@ -50,11 +50,6 @@
.Bl -tag -width Fl
.It Fl a
Do not discard commented out capabilities.
-This also sets the
-.Fl x
-flag as
-.Nm
-retains commented out capabilities as non standard.
.It Fl c
Only check for errors, don't write the final database.
.It Fl o Ar file
diff -r 7aa0759bd9c7 -r 7486ec4d1f97 usr.bin/tic/tic.c
--- a/usr.bin/tic/tic.c Fri Feb 05 16:34:04 2010 +0000
+++ b/usr.bin/tic/tic.c Fri Feb 05 16:36:09 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tic.c,v 1.3 2010/02/05 14:40:07 he Exp $ */
+/* $NetBSD: tic.c,v 1.4 2010/02/05 16:36:09 roy Exp $ */
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: tic.c,v 1.3 2010/02/05 14:40:07 he Exp $");
+__RCSID("$NetBSD: tic.c,v 1.4 2010/02/05 16:36:09 roy Exp $");
#include <sys/types.h>
@@ -886,20 +886,19 @@
while ((ch = getopt(argc, argv, "aco:sx")) != -1)
switch (ch) {
case 'a':
- aflag++;
- xflag++;
+ aflag = 1;
break;
case 'c':
- cflag++;
+ cflag = 1;
break;
case 'o':
ofile = optarg;
break;
case 's':
- sflag++;
+ sflag = 1;
break;
case 'x':
- xflag++;
+ xflag = 1;
break;
case '?': /* FALLTHROUGH */
default:
Home |
Main Index |
Thread Index |
Old Index