summaryrefslogtreecommitdiffstats
path: root/fish/fish.c
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>1999-09-22 18:55:14 +0000
committerjsm <jsm@NetBSD.org>1999-09-22 18:55:14 +0000
commite083ae85dc444e6d3aa2f73f144407c00a2acc91 (patch)
treea74fee3851cd1226466501dc9f2942409e2cecea /fish/fish.c
parent667545cb8480c2668669d2c848d3b3acb82606be (diff)
downloadbsdgames-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.c7
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));