summaryrefslogtreecommitdiff
path: root/usr.bin/audioctl
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 /usr.bin/audioctl
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 'usr.bin/audioctl')
-rw-r--r--usr.bin/audioctl/audioctl.110
-rw-r--r--usr.bin/audioctl/audioctl.c6
2 files changed, 7 insertions, 9 deletions
diff --git a/usr.bin/audioctl/audioctl.1 b/usr.bin/audioctl/audioctl.1
index e9649b0103b..e96590f7f6b 100644
--- a/usr.bin/audioctl/audioctl.1
+++ b/usr.bin/audioctl/audioctl.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: audioctl.1,v 1.20 2007/05/31 19:20:07 jmc Exp $
+.\" $OpenBSD: audioctl.1,v 1.21 2007/08/06 19:16:06 sobrado Exp $
.\" $NetBSD: audioctl.1,v 1.7 1998/04/27 16:55:23 augustss Exp $
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -33,7 +33,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 AUDIOCTL 1
.Os
.Sh NAME
@@ -47,13 +47,11 @@
.Nm audioctl
.Op Fl f Ar file
.Op Fl n
-.Ar name
-.Op Ar ...
+.Ar name ...
.Nm audioctl
.Op Fl f Ar file
.Op Fl n
-.Ar name Ns = Ns Ar value
-.Op Ar ...
+.Ar name Ns = Ns Ar value ...
.Sh DESCRIPTION
The
.Nm
diff --git a/usr.bin/audioctl/audioctl.c b/usr.bin/audioctl/audioctl.c
index bbd4e99f18d..10faad0ad4a 100644
--- a/usr.bin/audioctl/audioctl.c
+++ b/usr.bin/audioctl/audioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audioctl.c,v 1.12 2006/03/14 19:36:44 moritz Exp $ */
+/* $OpenBSD: audioctl.c,v 1.13 2007/08/06 19:16:06 sobrado Exp $ */
/* $NetBSD: audioctl.c,v 1.14 1998/04/27 16:55:23 augustss Exp $ */
/*
@@ -323,8 +323,8 @@ usage(void)
fprintf(stderr,
"usage: %s [-f file] [-n] -a\n"
- " %s [-f file] [-n] name [...]\n"
- " %s [-f file] [-n] name=value [...]\n", __progname,
+ " %s [-f file] [-n] name ...\n"
+ " %s [-f file] [-n] name=value ...\n", __progname,
__progname, __progname);
exit(1);