diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2007-08-06 19:16:08 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2007-08-06 19:16:08 +0000 |
commit | d569c9b0c585d1ada0bb33679611b77eba528140 (patch) | |
tree | af2426db3e795320f587d155021169a3f1700b3e /usr.bin/mixerctl | |
parent | 602a7968e47e34fd38658741b7b66d3c9115f9cf (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/mixerctl')
-rw-r--r-- | usr.bin/mixerctl/mixerctl.1 | 11 | ||||
-rw-r--r-- | usr.bin/mixerctl/mixerctl.c | 8 |
2 files changed, 9 insertions, 10 deletions
diff --git a/usr.bin/mixerctl/mixerctl.1 b/usr.bin/mixerctl/mixerctl.1 index 04d1d411c8d..4a5e0cc1e8b 100644 --- a/usr.bin/mixerctl/mixerctl.1 +++ b/usr.bin/mixerctl/mixerctl.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mixerctl.1,v 1.27 2007/05/31 19:20:13 jmc Exp $ +.\" $OpenBSD: mixerctl.1,v 1.28 2007/08/06 19:16:06 sobrado Exp $ .\" $NetBSD: mixerctl.1,v 1.8 1998/05/09 12:41:16 augustss Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -34,7 +34,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 MIXERCTL 1 .Os .Sh NAME @@ -48,17 +48,16 @@ .Nm mixerctl .Op Fl nv .Op Fl f Ar file -.Ar name Op Ar ... +.Ar name ... .Nm mixerctl .Op Fl qt .Op Fl f Ar file -.Ar name Op Ar ... +.Ar name ... .Nm mixerctl .Op Fl q .Pf \ \& Op Fl f Ar file .Xo -.Ar name Ns = Ns Ar value -.Op Ar ... +.Ar name Ns = Ns Ar value ... .Xc .Sh DESCRIPTION The diff --git a/usr.bin/mixerctl/mixerctl.c b/usr.bin/mixerctl/mixerctl.c index f1ce67590cb..cdf7b762d7b 100644 --- a/usr.bin/mixerctl/mixerctl.c +++ b/usr.bin/mixerctl/mixerctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mixerctl.c,v 1.23 2005/10/07 17:08:36 deraadt Exp $ */ +/* $OpenBSD: mixerctl.c,v 1.24 2007/08/06 19:16:06 sobrado Exp $ */ /* $NetBSD: mixerctl.c,v 1.11 1998/04/27 16:55:23 augustss Exp $ */ /* @@ -401,9 +401,9 @@ usage(void) fprintf(stderr, "usage: %s [-nv] [-f file] -a\n" - " %s [-nv] [-f file] name [...]\n" - " %s [-qt] [-f file] name [...]\n" - " %s [-q] [-f file] name=value [...]\n", + " %s [-nv] [-f file] name ...\n" + " %s [-qt] [-f file] name ...\n" + " %s [-q] [-f file] name=value ...\n", __progname, __progname, __progname, __progname); exit(1); |