diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-02-22 07:46:56 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-02-22 07:46:56 +0000 |
commit | 5a1b1a963a64a8b6b5ce84deb42c189f50859cd7 (patch) | |
tree | 879fe00c30ad0c8a5c50bbdb3148ea73cce92a58 /sbin/bioctl/bioctl.c | |
parent | 69138fb52884ac75504bc5664e180efbe3a7c87b (diff) |
split synopsis and the options list according to functionality;
diff from Mitja Mu?eni?
ok marco
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r-- | sbin/bioctl/bioctl.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c index 0ec3cdd9350..acb2294dfc1 100644 --- a/sbin/bioctl/bioctl.c +++ b/sbin/bioctl/bioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioctl.c,v 1.77 2008/09/02 23:05:12 dtucker Exp $ */ +/* $OpenBSD: bioctl.c,v 1.78 2009/02/22 07:46:55 jmc Exp $ */ /* * Copyright (c) 2004, 2005 Marco Peereboom @@ -236,14 +236,18 @@ usage(void) extern char *__progname; fprintf(stderr, - "usage: %s [-dhiqv] [-a alarm-function] " + "usage: %s [-hiqv] [-a alarm-function] " "[-b channel:target[.lun]]\n" - "\t[-C flag[,flag,...]] [-c raidlevel] " - "[-H channel:target[.lun]]\n" - "\t[-l special[,special,...]] " - "[-R device|channel:target[.lun]\n" - "\t[-r rounds] [-u channel:target[.lun]] " - "device\n", __progname); + "\t[-H channel:target[.lun]] " + "[-R device | channel:target[.lun]\n" + "\t[-u channel:target[.lun]] " + "device\n" + " %s [-dhiqv] " + "[-C flag[,flag,...]] [-c raidlevel]\n" + "\t[-l special[,special,...]] " + "[-R device | channel:target[.lun]\n" + "\t[-r rounds] " + "device\n", __progname, __progname); exit(1); } |