diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-04-02 15:27:14 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-04-02 15:27:14 +0000 |
commit | 0d552d534303565022381e633b88f72e0d2794e5 (patch) | |
tree | 355666d1af59c1b03b771251fc5a5b5802492a2a /games/wump | |
parent | 8ac98594f1aabd86387c61c068430051174a39e5 (diff) |
provide some missing arguments and tidy up usage(); from Igor Sobrado
Diffstat (limited to 'games/wump')
-rw-r--r-- | games/wump/wump.6 | 12 | ||||
-rw-r--r-- | games/wump/wump.c | 7 |
2 files changed, 10 insertions, 9 deletions
diff --git a/games/wump/wump.6 b/games/wump/wump.6 index 1854a8c8102..0cc216372b5 100644 --- a/games/wump/wump.6 +++ b/games/wump/wump.6 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wump.6,v 1.7 2003/06/03 03:01:42 millert Exp $ +.\" $OpenBSD: wump.6,v 1.8 2007/04/02 15:27:13 jmc Exp $ .\" .\" Copyright (c) 1989, 1993 .\" The Regents of the University of California. All rights reserved. @@ -60,10 +60,10 @@ arrows. .Pp The options are as follows: .Bl -tag -width indent -.It Fl a +.It Fl a Ar arrows Specifies the number of magic arrows the adventurer gets. The default is five. -.It Fl b +.It Fl b Ar bats Specifies the number of rooms in the cave which contain bats. The default is three. .It Fl h @@ -73,13 +73,13 @@ dangerous cave. Play the original version, where there are twenty rooms arranged on the vertices of a dodecahedron, connected by the edges. In this case, the default is two pits and two bat rooms. -.It Fl p +.It Fl p Ar pits Specifies the number of rooms in the cave which contain bottomless pits. The default is three. -.It Fl r +.It Fl r Ar rooms Specifies the number of rooms in the cave. The default cave size is twenty-five rooms. -.It Fl t +.It Fl t Ar tunnels Specifies the number of tunnels connecting each room in the cave to another room. Beware, too many tunnels in a small cave can easily cause it to collapse! diff --git a/games/wump/wump.c b/games/wump/wump.c index 84cd55b31ba..748fb3f4a3a 100644 --- a/games/wump/wump.c +++ b/games/wump/wump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wump.c,v 1.23 2004/07/10 07:26:24 deraadt Exp $ */ +/* $OpenBSD: wump.c,v 1.24 2007/04/02 15:27:13 jmc Exp $ */ /* * Copyright (c) 1989, 1993 @@ -43,7 +43,7 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)wump.c 8.1 (Berkeley) 5/31/93"; #else -static const char rcsid[] = "$OpenBSD: wump.c,v 1.23 2004/07/10 07:26:24 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: wump.c,v 1.24 2007/04/02 15:27:13 jmc Exp $"; #endif #endif /* not lint */ @@ -915,7 +915,8 @@ void usage(void) { (void)fprintf(stderr, -"usage: wump [-ho] [-a arrows] [-b bats] [-p pits] [-r rooms] [-t tunnels]\n"); + "usage: wump [-ho] [-a arrows] [-b bats] [-p pits] " + "[-r rooms] [-t tunnels]\n"); exit(1); } |