summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-04-18 11:51:47 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-04-18 11:51:47 +0000
commite5c7e1047cd504d19bb203b03bb51f7629c4aa6a (patch)
tree57eb6948a0d3cc84d0e9c6c9b211d88ef31995cd
parent07b1b8feae572a8cda6ca1b95ec148b9560f9331 (diff)
sync usage() w/ man synopsis;
ok marco@
-rw-r--r--sbin/bioctl/bioctl.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index f27d3325793..42d0c7b7555 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.9 2005/04/12 20:49:19 marco Exp $ */
+/* $OpenBSD: bioctl.c,v 1.10 2005/04/18 11:51:46 jmc Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
* All rights reserved.
@@ -235,14 +235,9 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-Dehpt] "
- "[-a alarm function] "
- "[-b blink function] "
- "[-s get status] "
- "[-t passthrough] "
- "[-l device list] "
- "[-u go/stop function ] "
- "-d raid device\n", __progname);
+ fprintf(stderr, "usage: %s [-Dehpt] [-a function] [-b function] "
+ "[-l device list]\n"
+ "\t[-u function] -d device\n", __progname);
exit(1);
}