summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-07-30 11:59:04 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-07-30 11:59:04 +0000
commit957eca97b6e326544ffe4362aa1d6a36b2a6048b (patch)
tree4ca477e4d096e65b0649b95110ea1f4984080c8a
parent4ba93e9679394e7f05be4cc7cfa500e8ab941e75 (diff)
- sort options
- missing full stop - uppercase `id' - add SEE ALSO; suggested by Alexey E. Suslikov - add `-d host:port' to usage()
-rw-r--r--usr.bin/cdio/cdio.133
-rw-r--r--usr.bin/cdio/cdio.c4
2 files changed, 24 insertions, 13 deletions
diff --git a/usr.bin/cdio/cdio.1 b/usr.bin/cdio/cdio.1
index fe2e3d18468..a48054838d1 100644
--- a/usr.bin/cdio/cdio.1
+++ b/usr.bin/cdio/cdio.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cdio.1,v 1.27 2003/06/10 09:12:09 jmc Exp $
+.\" $OpenBSD: cdio.1,v 1.28 2004/07/30 11:59:03 jmc Exp $
.\"
.\" Copyright (c) 1995 Serge V. Vakulenko
.\" All rights reserved.
@@ -38,7 +38,10 @@
.Sh SYNOPSIS
.Nm cdio
.Op Fl sv
-.Op Fl d Ar host:port
+.Xo
+.Oo Fl d
+.Ar host : Ns Ar port Oc
+.Xc
.Op Fl f Ar device
.Op Ar command args ...
.Sh DESCRIPTION
@@ -65,13 +68,10 @@ enters an interactive mode, reading commands from the standard input.
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl s
-Silent mode.
-Do not print table headers or human-readable comments.
-.It Fl v
-Verbose mode.
-Print as much information as possible.
-.It Fl d Ar host:port
+.It Xo
+.Fl d
+.Ar host : Ns Ar port
+.Xc
Specifies cddb host (default: freedb.freedb.org:cddb).
.It Fl f Ar device
Specifies a device name such as
@@ -82,6 +82,12 @@ Both absolute and relative paths to
.Pa /dev
filenames are possible.
The raw partition name is added if needed.
+.It Fl s
+Silent mode.
+Do not print table headers or human-readable comments.
+.It Fl v
+Verbose mode.
+Print as much information as possible.
.El
.Pp
The available commands are listed below.
@@ -164,9 +170,9 @@ Print the table of contents.
.It Ic cddb Op Ar n
Print the table of contents after matching the disc with the cddb.
In case of multiple matches, reissue the command with
-.Ar n
+.Ar n .
.It Ic cdid
-Print the disc id that will be used for matching with the cddb.
+Print the disc ID that will be used for matching with the cddb.
.It Ic status
Print information about the disc:
the current playing status and position,
@@ -199,6 +205,11 @@ Quit the program.
.It Pa /dev/rcd0c
.It Pa /dev/rmcd0c
.El
+.Sh SEE ALSO
+.Xr aucat 1 ,
+.Xr audioctl 1 ,
+.Xr mixerctl 1 ,
+.Xr audio 4
.Sh HISTORY
The
.Nm
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index c7acb7248cf..80ed6032e8f 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.33 2004/01/16 12:10:55 espie Exp $ */
+/* $OpenBSD: cdio.c,v 1.34 2004/07/30 11:59:03 jmc Exp $ */
/* Copyright (c) 1995 Serge V. Vakulenko
* All rights reserved.
@@ -206,7 +206,7 @@ help(void)
void
usage(void)
{
- fprintf(stderr, "usage: %s [-sv] [-f device] [command args ...]\n",
+ fprintf(stderr, "usage: %s [-sv] [-d host:port] [-f device] [command args ...]\n",
__progname);
exit(1);
}