G/C undocumented and unimplemented `-D' (debug) option.
This commit is contained in:
parent
bca097d567
commit
d5c5fed0c7
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: extern.h,v 1.19 2001/01/04 01:53:24 jwise Exp $ */
|
||||
/* $NetBSD: extern.h,v 1.20 2001/01/04 01:56:27 jwise Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
|
@ -51,7 +51,6 @@ extern jmp_buf restart;
|
|||
#define MODE_LOGGER 3
|
||||
|
||||
/* command line flags */
|
||||
extern char debug; /* -D */
|
||||
extern char randomize; /* -x, give first available ship */
|
||||
extern char longfmt; /* -l, print score in long format */
|
||||
extern char nobells; /* -b, don't ring bell before Signal */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: globals.c,v 1.9 2000/02/09 22:27:56 jsm Exp $ */
|
||||
/* $NetBSD: globals.c,v 1.10 2001/01/04 01:56:28 jwise Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
|
@ -38,7 +38,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)globals.c 8.2 (Berkeley) 4/28/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: globals.c,v 1.9 2000/02/09 22:27:56 jsm Exp $");
|
||||
__RCSID("$NetBSD: globals.c,v 1.10 2001/01/04 01:56:28 jwise Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -548,7 +548,6 @@ const char dc[] = { 0, 0, -1, -1, -1, 0, 1, 1, 1 };
|
|||
int mode;
|
||||
jmp_buf restart;
|
||||
|
||||
char debug; /* -D */
|
||||
char randomize; /* -x, give first available ship */
|
||||
char longfmt; /* -l, print score in long format */
|
||||
char nobells; /* -b, don't ring bell before Signal */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.16 2001/01/01 22:33:01 jwise Exp $ */
|
||||
/* $NetBSD: main.c,v 1.17 2001/01/04 01:56:28 jwise Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
|
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/28/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: main.c,v 1.16 2001/01/01 22:33:01 jwise Exp $");
|
||||
__RCSID("$NetBSD: main.c,v 1.17 2001/01/04 01:56:28 jwise Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -83,7 +83,7 @@ main(int argc, char **argv)
|
|||
else
|
||||
mode = MODE_PLAYER;
|
||||
|
||||
while ((a = getopt(argc, argv, "dsDxlb")) != -1)
|
||||
while ((a = getopt(argc, argv, "dsxlb")) != -1)
|
||||
switch (a) {
|
||||
case 'd':
|
||||
mode = MODE_DRIVER;
|
||||
|
@ -91,9 +91,6 @@ main(int argc, char **argv)
|
|||
case 's':
|
||||
mode = MODE_LOGGER;
|
||||
break;
|
||||
case 'D':
|
||||
debug++;
|
||||
break;
|
||||
case 'x':
|
||||
randomize++;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue