Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/tetris At suggestion of christos@, use -b for b&w rath...



details:   https://anonhg.NetBSD.org/src/rev/b3393d8d5cf6
branches:  trunk
changeset: 797308:b3393d8d5cf6
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Jul 13 17:38:38 2014 +0000

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

diffstat:

 games/tetris/tetris.6 |  10 +++++-----
 games/tetris/tetris.c |   6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (61 lines):

diff -r 5335539f6ff9 -r b3393d8d5cf6 games/tetris/tetris.6
--- a/games/tetris/tetris.6     Sun Jul 13 17:27:45 2014 +0000
+++ b/games/tetris/tetris.6     Sun Jul 13 17:38:38 2014 +0000
@@ -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 @@
 .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
diff -r 5335539f6ff9 -r b3393d8d5cf6 games/tetris/tetris.c
--- a/games/tetris/tetris.c     Sun Jul 13 17:27:45 2014 +0000
+++ b/games/tetris/tetris.c     Sun Jul 13 17:38:38 2014 +0000
@@ -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 @@
 
        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':



Home | Main Index | Thread Index | Old Index