diff options
author | jtc <jtc@NetBSD.org> | 1995-01-31 15:54:01 +0000 |
---|---|---|
committer | jtc <jtc@NetBSD.org> | 1995-01-31 15:54:01 +0000 |
commit | 3a569dbbc62fd56b2478148b87c01897bfebe439 (patch) | |
tree | 23dfe649d758c3ebc1d2d89a148b177b9b998e41 /worms | |
parent | b1e6e54a6740fd155893993ddf97c1a69f011d27 (diff) | |
download | bsdgames-darwin-3a569dbbc62fd56b2478148b87c01897bfebe439.tar.gz bsdgames-darwin-3a569dbbc62fd56b2478148b87c01897bfebe439.tar.zst bsdgames-darwin-3a569dbbc62fd56b2478148b87c01897bfebe439.zip |
Make man page and usage message agree with the code.
Fix from Hubert Feyrer.
Diffstat (limited to 'worms')
-rw-r--r-- | worms/worms.6 | 12 | ||||
-rw-r--r-- | worms/worms.c | 4 |
2 files changed, 9 insertions, 7 deletions
diff --git a/worms/worms.6 b/worms/worms.6 index 7f11acbc..9368eb58 100644 --- a/worms/worms.6 +++ b/worms/worms.6 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)worms.6 6.4 (Berkeley) 6/23/90 -.\" $Id: worms.6,v 1.3 1993/08/05 01:47:21 jtc Exp $ +.\" $Id: worms.6,v 1.4 1995/01/31 15:54:01 jtc Exp $ .\" .Dd June 23, 1990 .Dt WORMS 6 @@ -41,8 +41,8 @@ .Sh SYNOPSIS .Nm worms .Op Fl ft -.Op Fl length Ar # -.Op Fl number Ar # +.Op Fl l Ar # +.Op Fl n Ar # .Sh DESCRIPTION Brian Horn (cithep!bdh) showed me a .Tn TOPS-20 @@ -58,9 +58,11 @@ The options are as follows: makes a ``field'' for the worm(s) to eat. .It Fl t causes each worm to leave a trail behind it. +.It Fl n Ar # +start # worms. +.It Fl l Ar # +worms are # chars long. .El -.Pp -You can figure out the rest by yourself. .Sh AUTHOR Eric P. Scott .Sh BUGS diff --git a/worms/worms.c b/worms/worms.c index b8867eb0..959106b4 100644 --- a/worms/worms.c +++ b/worms/worms.c @@ -39,7 +39,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)worms.c 5.9 (Berkeley) 2/28/91";*/ -static char rcsid[] = "$Id: worms.c,v 1.4 1994/04/05 00:21:20 mycroft Exp $"; +static char rcsid[] = "$Id: worms.c,v 1.5 1995/01/31 15:54:02 jtc Exp $"; #endif /* not lint */ /* @@ -231,7 +231,7 @@ main(argc, argv) case '?': default: (void)fprintf(stderr, - "usage: worms [-ft] [-length #] [-number #]\n"); + "usage: worms [-ft] [-l #] [-n #]\n"); exit(1); } |