summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-04-10 13:49:14 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-04-10 13:49:14 +0000
commit92bc8fe79c47764c2bfa01861ae127858f564d1c (patch)
tree819e64aa5bcc3b1b208cc3f67e45b8435925db3b /games
parent14120a1097cd09a681cce4da398a967eb4e5ef26 (diff)
sort options + sync usage();
Diffstat (limited to 'games')
-rw-r--r--games/robots/main.c6
-rw-r--r--games/robots/robots.620
2 files changed, 13 insertions, 13 deletions
diff --git a/games/robots/main.c b/games/robots/main.c
index c21a624983a..ae4a631e025 100644
--- a/games/robots/main.c
+++ b/games/robots/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.14 2004/11/29 08:52:28 jsg Exp $ */
+/* $OpenBSD: main.c,v 1.15 2005/04/10 13:49:13 jmc Exp $ */
/* $NetBSD: main.c,v 1.5 1995/04/22 10:08:54 cgd Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.14 2004/11/29 08:52:28 jsg Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.15 2005/04/10 13:49:13 jmc Exp $";
#endif
#endif /* not lint */
@@ -49,7 +49,7 @@ static char rcsid[] = "$OpenBSD: main.c,v 1.14 2004/11/29 08:52:28 jsg Exp $";
void
usage(void)
{
- fprintf(stderr, "usage: robots [-sjtar] [scorefile]\n");
+ fprintf(stderr, "usage: robots [-ajrst] [scorefile]\n");
exit(1);
}
diff --git a/games/robots/robots.6 b/games/robots/robots.6
index 2000b8e33e1..df12b2e2e8d 100644
--- a/games/robots/robots.6
+++ b/games/robots/robots.6
@@ -1,4 +1,4 @@
-.\" $OpenBSD: robots.6,v 1.10 2003/06/03 03:01:41 millert Exp $
+.\" $OpenBSD: robots.6,v 1.11 2005/04/10 13:49:13 jmc Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -37,7 +37,7 @@
.Nd fight off villainous robots
.Sh SYNOPSIS
.Nm robots
-.Op Fl sjtar
+.Op Fl ajrst
.Op Ar scorefile
.Sh DESCRIPTION
.Nm
@@ -116,25 +116,25 @@ of the game.
If an alternative score file is specified, that will be used instead of the
standard file for scores.
.Pp
-The options are
+The options are as follows:
.Bl -tag -width indent
-.It Fl s
-Don't play, just show the score file.
+.It Fl a
+Advance into the higher levels directly, skipping the lower, easier levels.
.It Fl j
Jump,
.Em i.e. ,
when you run, don't show any intermediate positions; only show things at
the end.
This is useful on slow terminals.
+.It Fl r
+Real-time mode.
+After your first move, robots will advance at least every three seconds.
+.It Fl s
+Don't play, just show the score file.
.It Fl t
Teleport automatically when you have no other option.
This is a little disconcerting until you get used to it, and then it is
very nice.
-.It Fl a
-Advance into the higher levels directly, skipping the lower, easier levels.
-.It Fl r
-Real-time mode.
-After your first move, robots will advance at least every three seconds.
.El
.Sh FILES
.Bl -tag -width /var/games/robots_roll -compact