From 80e442e9979c13d30bc01f2fd1532ec998b3e58f Mon Sep 17 00:00:00 2001 From: pgoyette Date: Sun, 13 Jul 2014 17:38:38 +0000 Subject: At suggestion of christos@, use -b for b&w rather than -c --- tetris/tetris.6 | 10 +++++----- tetris/tetris.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tetris') 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': -- cgit v1.2.3-56-ge451