Module Name:    src
Committed By:   pgoyette
Date:           Sun Jul 13 17:38:38 UTC 2014

Modified Files:
        src/games/tetris: tetris.6 tetris.c

Log Message:
At suggestion of christos@, use -b for b&w rather than -c


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/games/tetris/tetris.6
cvs rdiff -u -r1.26 -r1.27 src/games/tetris/tetris.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/tetris/tetris.6
diff -u src/games/tetris/tetris.6:1.12 src/games/tetris/tetris.6:1.13
--- src/games/tetris/tetris.6:1.12	Sun Jul 13 16:23:55 2014
+++ src/games/tetris/tetris.6	Sun Jul 13 17:38:38 2014
@@ -1,4 +1,4 @@
-.\"	$NetBSD: tetris.6,v 1.12 2014/07/13 16:23:55 pgoyette Exp $
+.\"	$NetBSD: tetris.6,v 1.13 2014/07/13 17:38:38 pgoyette Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"	@(#)tetris.6	8.1 (Berkeley) 5/31/93
 .\"
-.Dd May 31, 1993
+.Dd July 13, 2013
 .Dt TETRIS 6
 .Os
 .Sh NAME
@@ -40,7 +40,7 @@
 .Nd the game of tetris
 .Sh SYNOPSIS
 .Nm
-.Op Fl cps
+.Op Fl bps
 .Op Fl k Ar keys
 .Op Fl l Ar level
 .Sh DESCRIPTION
@@ -73,10 +73,10 @@ quit
 .Pp
 The options are as follows:
 .Bl -tag -width indent
-.It Fl c
+.It Fl b
 By default, shapes are displayed colorfully if the user's CRT supports color.
 The
-.Fl c
+.Fl b
 option can be used to restore the traditional black-and-white behavior.
 .It Fl k
 The default control keys can be changed using the

Index: src/games/tetris/tetris.c
diff -u src/games/tetris/tetris.c:1.26 src/games/tetris/tetris.c:1.27
--- src/games/tetris/tetris.c:1.26	Sun Jul 13 16:23:55 2014
+++ src/games/tetris/tetris.c	Sun Jul 13 17:38:38 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: tetris.c,v 1.26 2014/07/13 16:23:55 pgoyette Exp $	*/
+/*	$NetBSD: tetris.c,v 1.27 2014/07/13 17:38:38 pgoyette Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -145,9 +145,9 @@ main(int argc, char *argv[])
 
 	keys = "jkl pq";
 
-	while ((ch = getopt(argc, argv, "ck:l:ps")) != -1)
+	while ((ch = getopt(argc, argv, "bk:l:ps")) != -1)
 		switch(ch) {
-		case 'c':
+		case 'b':
 			nocolor = 1;
 			break;
 		case 'k':

Reply via email to