diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-06-26 01:36:34 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-06-26 01:36:34 +0000 |
commit | 39768fcdbaff5cafff222590d7f1698d2ec44923 (patch) | |
tree | 286870d57046b95304bb60582d27655316e9a300 | |
parent | 4bb451b2d5d3cc9298eaf5c6b3232f204051a70e (diff) |
correct usage(); pointed out by pvalchev@
-rw-r--r-- | games/fortune/fortune/fortune.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index cf222d931d8..c4ba4340abd 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fortune.c,v 1.10 2001/03/22 22:29:40 pjanzen Exp $ */ +/* $OpenBSD: fortune.c,v 1.11 2001/06/26 01:36:33 pjanzen Exp $ */ /* $NetBSD: fortune.c,v 1.8 1995/03/23 08:28:40 cgd Exp $ */ /*- @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: fortune.c,v 1.10 2001/03/22 22:29:40 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: fortune.c,v 1.11 2001/06/26 01:36:33 pjanzen Exp $"; #endif #endif /* not lint */ @@ -1386,7 +1386,7 @@ FILEDESC *list; void usage() { - (void) fprintf(stderr, "fortune [-a"); + (void) fprintf(stderr, "fortune [-ae"); #ifdef DEBUG (void) fprintf(stderr, "D"); #endif /* DEBUG */ @@ -1398,6 +1398,6 @@ usage() #ifndef NO_REGEX (void) fprintf(stderr, " [-m pattern]"); #endif /* NO_REGEX */ - (void) fprintf(stderr, "[ [#%%] file/directory/all]\n"); + (void) fprintf(stderr, " [[#%%] file/directory/all]\n"); exit(1); } |