summaryrefslogtreecommitdiff
path: root/sbin/ccdconfig
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2007-08-06 19:16:08 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2007-08-06 19:16:08 +0000
commitd569c9b0c585d1ada0bb33679611b77eba528140 (patch)
treeaf2426db3e795320f587d155021169a3f1700b3e /sbin/ccdconfig
parent602a7968e47e34fd38658741b7b66d3c9115f9cf (diff)
the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands lots of good ideas by jmc@ ok jmc@
Diffstat (limited to 'sbin/ccdconfig')
-rw-r--r--sbin/ccdconfig/ccdconfig.810
-rw-r--r--sbin/ccdconfig/ccdconfig.c8
2 files changed, 8 insertions, 10 deletions
diff --git a/sbin/ccdconfig/ccdconfig.8 b/sbin/ccdconfig/ccdconfig.8
index 786a691a7f9..f32ab54d51e 100644
--- a/sbin/ccdconfig/ccdconfig.8
+++ b/sbin/ccdconfig/ccdconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ccdconfig.8,v 1.22 2007/05/31 19:19:43 jmc Exp $
+.\" $OpenBSD: ccdconfig.8,v 1.23 2007/08/06 19:16:05 sobrado Exp $
.\" $NetBSD: ccdconfig.8,v 1.4 1996/02/28 01:01:17 thorpej Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 6 2007 $
.Dt CCDCONFIG 8
.Os
.Sh NAME
@@ -47,8 +47,7 @@
.Ar ccd
.Ar ileave
.Op Ar flags
-.Ar dev
-.Op Ar ...
+.Ar dev ...
.Nm ccdconfig
.Fl C
.Op Fl v
@@ -56,8 +55,7 @@
.Nm ccdconfig
.Fl u
.Op Fl v
-.Ar ccd
-.Op Ar ...
+.Ar ccd ...
.Nm ccdconfig
.Fl U
.Op Fl v
diff --git a/sbin/ccdconfig/ccdconfig.c b/sbin/ccdconfig/ccdconfig.c
index c6fbefaae78..e45ba95c7d9 100644
--- a/sbin/ccdconfig/ccdconfig.c
+++ b/sbin/ccdconfig/ccdconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ccdconfig.c,v 1.31 2007/04/17 15:52:24 tedu Exp $ */
+/* $OpenBSD: ccdconfig.c,v 1.32 2007/08/06 19:16:05 sobrado Exp $ */
/* $NetBSD: ccdconfig.c,v 1.6 1996/05/16 07:11:18 thorpej Exp $ */
/*-
@@ -720,10 +720,10 @@ static void
usage(void)
{
- fprintf(stderr, "usage: %s [-cv] ccd ileave [flags] %s\n", __progname,
- "dev [...]");
+ fprintf(stderr, "usage: %s [-cv] ccd ileave [flags] dev ...\n",
+ __progname);
fprintf(stderr, " %s -C [-v] [-f config_file]\n", __progname);
- fprintf(stderr, " %s -u [-v] ccd [...]\n", __progname);
+ fprintf(stderr, " %s -u [-v] ccd ...\n", __progname);
fprintf(stderr, " %s -U [-v] [-f config_file]\n", __progname);
exit(1);
}