From 3a569dbbc62fd56b2478148b87c01897bfebe439 Mon Sep 17 00:00:00 2001 From: jtc Date: Tue, 31 Jan 1995 15:54:01 +0000 Subject: Make man page and usage message agree with the code. Fix from Hubert Feyrer. --- worms/worms.6 | 12 +++++++----- worms/worms.c | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'worms') 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); } -- cgit v1.2.3-56-ge451