aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Frazier <eyeswide@gmail.com>2012-09-29 19:12:16 -0400
committerJonathan Frazier <eyeswide@gmail.com>2012-09-29 19:12:16 -0400
commitd2553dea95e3a61eb1857cc5c3cfd28f72419b9b (patch)
treef4daa15895e3504394145c295a645c84aa107b5a
parent70a59f1a1285296d78b099da5b4ff2fcdbae7b03 (diff)
downloadmirror-ponymix-d2553dea95e3a61eb1857cc5c3cfd28f72419b9b.tar.gz
mirror-ponymix-d2553dea95e3a61eb1857cc5c3cfd28f72419b9b.tar.bz2
mirror-ponymix-d2553dea95e3a61eb1857cc5c3cfd28f72419b9b.zip
clarify -o and -i usage
-rw-r--r--ponymix.14
-rw-r--r--ponymix.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ponymix.1 b/ponymix.1
index 4c1326e..a9fb00b 100644
--- a/ponymix.1
+++ b/ponymix.1
@@ -12,11 +12,11 @@ perform many operations on both device and application sinks and source.
Control input and output devices.
.IP "\fB\-a\fR, \fB\-\-app\fR"
Control the playback and recording streams.
-.IP "\fB\-o\fR, \fB\-\-sink\fR[\fB=\fR\fISINK\fR]"
+.IP "\fB\-o\fR[\fR\fISINK\fR]\fR, \fB\-\-sink\fR[\fB=\fR\fISINK\fR]"
Specify the sink to control. If the argument is omitted, the default
sink is used.
\fISINK\fR must be the numeric index of the sink.
-.IP "\fB\-i\fR, \fB\-\-source\fR[\fB=\fR\fISOURCE\fR]"
+.IP "\fB\-i\fR[\fR\fISOURCE\fR]\fR, \fB\-\-source\fR[\fB=\fR\fISOURCE\fR]"
Specify the source to control. If the argument is omitted,
the default source is assumed.
\fISOURCE\fR must be the numeric index of the source.
diff --git a/ponymix.c b/ponymix.c
index 543baef..bf1143d 100644
--- a/ponymix.c
+++ b/ponymix.c
@@ -687,8 +687,8 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
"\n -d, --device set device mode (default)\n"
" -a, --app set application mode\n"
- "\n -o, --sink=<name> control a sink other than the default\n"
- " -i, --source=<name> control a source\n", out);
+ "\n -o<name>, --sink=<name> control a sink other than the default\n"
+ " -i<name>, --source=<name> control a source\n", out);
fputs("\nCommon Commands:\n"
" list list available devices\n"