Module Name:    src
Committed By:   roy
Date:           Fri Feb  5 16:36:09 UTC 2010

Modified Files:
        src/usr.bin/tic: tic.1 tic.c

Log Message:
Note that -a no longer sets -x.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/tic/tic.1
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/tic/tic.c

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/tic/tic.1
diff -u src/usr.bin/tic/tic.1:1.2 src/usr.bin/tic/tic.1:1.3
--- src/usr.bin/tic/tic.1:1.2	Wed Feb  3 15:51:09 2010
+++ src/usr.bin/tic/tic.1	Fri Feb  5 16:36:09 2010
@@ -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

Index: src/usr.bin/tic/tic.c
diff -u src/usr.bin/tic/tic.c:1.3 src/usr.bin/tic/tic.c:1.4
--- src/usr.bin/tic/tic.c:1.3	Fri Feb  5 14:40:07 2010
+++ src/usr.bin/tic/tic.c	Fri Feb  5 16:36:09 2010
@@ -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:

Reply via email to