diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-04-02 15:23:49 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-04-02 15:23:49 +0000 |
commit | 51d80a455cf8112e0c9c5c7f8750bd5744f275a5 (patch) | |
tree | fbb083262b0346d78a4e1a4b3dce28f464bad9f2 | |
parent | fcbb2033674cb2f727c304b26a842a5dff803ce1 (diff) |
tidy up synopsis and usage(); from Igor Sobrado
-rw-r--r-- | games/snake/snake.6 | 7 | ||||
-rw-r--r-- | games/snake/snake.c | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/games/snake/snake.6 b/games/snake/snake.6 index f63de05f272..55575bce84e 100644 --- a/games/snake/snake.6 +++ b/games/snake/snake.6 @@ -1,4 +1,4 @@ -.\" $OpenBSD: snake.6,v 1.8 2005/03/12 12:21:08 jmc Exp $ +.\" $OpenBSD: snake.6,v 1.9 2007/04/02 15:23:48 jmc Exp $ .\" $NetBSD: snake.6,v 1.5 1995/04/22 08:34:35 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -39,10 +39,9 @@ .Nd display chase game .Sh SYNOPSIS .Nm snake -.Op Fl w Ar width +.Op Fl st .Op Fl l Ar length -.Op Fl s -.Op Fl t +.Op Fl w Ar width .Nm snscore .Sh DESCRIPTION .Nm snake diff --git a/games/snake/snake.c b/games/snake/snake.c index bf0869ebea0..01a4e18b04e 100644 --- a/games/snake/snake.c +++ b/games/snake/snake.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snake.c,v 1.11 2006/03/15 17:57:57 dhill Exp $ */ +/* $OpenBSD: snake.c,v 1.12 2007/04/02 15:23:48 jmc Exp $ */ /* $NetBSD: snake.c,v 1.8 1995/04/29 00:06:41 mycroft Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)snake.c 8.2 (Berkeley) 1/7/94"; #else -static char rcsid[] = "$OpenBSD: snake.c,v 1.11 2006/03/15 17:57:57 dhill Exp $"; +static char rcsid[] = "$OpenBSD: snake.c,v 1.12 2007/04/02 15:23:48 jmc Exp $"; #endif #endif /* not lint */ @@ -190,7 +190,7 @@ main(int argc, char *argv[]) case '?': case 'h': default: - fputs("usage: snake [-w width] [-l length] [-s]\n", + fputs("usage: snake [-st] [-l length] [-w width]\n", stderr); exit(1); } |