ref: c8ac5d7eb7999207c4fda314642df04325aafa68
parent: 6a905b45604b7d4546e4f9f632b8685c3bda497a
author: glenda <glenda@turku>
date: Sat Apr 26 11:08:28 EDT 2014
games/geigerstats: fix usage() to exit; games(1): geigerstats args
--- a/sys/man/1/games
+++ b/sys/man/1/games
@@ -40,6 +40,13 @@
] ]
.br
.B games/geigerstats
+[
+.B -d
+.I dev
+] [
+.B -v
+.I vol
+]
.br
.B games/glendy
.br
--- a/sys/src/games/geigerstats.c
+++ b/sys/src/games/geigerstats.c
@@ -10,6 +10,7 @@
usage(void)
{
fprint(2, "%s: usage: %s [-d dev] [-v vol]\n", argv0, argv0);
+ exits("usage");
}
int