summaryrefslogtreecommitdiffstats
path: root/tetris
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2014-07-13 17:38:38 +0000
committerpgoyette <pgoyette@NetBSD.org>2014-07-13 17:38:38 +0000
commit80e442e9979c13d30bc01f2fd1532ec998b3e58f (patch)
treeb0c9c1204fb7997766059c7c2c0f34c80b6b0826 /tetris
parentc1575446b4355046bd6cf7f905cab749762c5306 (diff)
downloadbsdgames-darwin-80e442e9979c13d30bc01f2fd1532ec998b3e58f.tar.gz
bsdgames-darwin-80e442e9979c13d30bc01f2fd1532ec998b3e58f.tar.zst
bsdgames-darwin-80e442e9979c13d30bc01f2fd1532ec998b3e58f.zip
At suggestion of christos@, use -b for b&w rather than -c
Diffstat (limited to 'tetris')
-rw-r--r--tetris/tetris.610
-rw-r--r--tetris/tetris.c6
2 files changed, 8 insertions, 8 deletions
diff --git a/tetris/tetris.6 b/tetris/tetris.6
index e68659e7..cb2f651c 100644
--- a/tetris/tetris.6
+++ b/tetris/tetris.6
@@ -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
diff --git a/tetris/tetris.c b/tetris/tetris.c
index 3c0d6afe..9aa0b14b 100644
--- a/tetris/tetris.c
+++ b/tetris/tetris.c
@@ -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':