diff options
author | 1999-09-22 18:55:14 +0000 | |
---|---|---|
committer | 1999-09-22 18:55:14 +0000 | |
commit | e083ae85dc444e6d3aa2f73f144407c00a2acc91 (patch) | |
tree | a74fee3851cd1226466501dc9f2942409e2cecea /fish/fish.c | |
parent | 667545cb8480c2668669d2c848d3b3acb82606be (diff) | |
download | bsdgames-darwin-e083ae85dc444e6d3aa2f73f144407c00a2acc91.tar.gz bsdgames-darwin-e083ae85dc444e6d3aa2f73f144407c00a2acc91.tar.zst bsdgames-darwin-e083ae85dc444e6d3aa2f73f144407c00a2acc91.zip |
Use the function usage().
Diffstat (limited to 'fish/fish.c')
-rw-r--r-- | fish/fish.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fish/fish.c b/fish/fish.c index b522a7b4..05d73af7 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -1,4 +1,4 @@ -/* $NetBSD: fish.c,v 1.10 1999/09/12 09:02:21 jsm Exp $ */ +/* $NetBSD: fish.c,v 1.11 1999/09/22 18:55:14 jsm Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993\n\ #if 0 static char sccsid[] = "@(#)fish.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: fish.c,v 1.10 1999/09/12 09:02:21 jsm Exp $"); +__RCSID("$NetBSD: fish.c,v 1.11 1999/09/22 18:55:14 jsm Exp $"); #endif #endif /* not lint */ @@ -114,8 +114,7 @@ main(argc, argv) break; case '?': default: - (void)fprintf(stderr, "usage: fish [-p]\n"); - exit(1); + usage(); } srandom(time((time_t *)NULL)); |