aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Gomizelj <simongmzlj@gmail.com>2012-08-11 04:06:04 -0400
committerDave Reisner <dreisner@archlinux.org>2012-08-11 11:54:58 -0400
commit670d5f9d3e33c95bf4d6f06986099671f00923d7 (patch)
tree3ff3e199caa8d5a7efb36d8de68276ffdf2f4ce0
parentedc85fcc3706c5fce2b1a70c09b828c66eb48fb6 (diff)
downloadmirror-ponymix-670d5f9d3e33c95bf4d6f06986099671f00923d7.tar.gz
mirror-ponymix-670d5f9d3e33c95bf4d6f06986099671f00923d7.tar.bz2
mirror-ponymix-670d5f9d3e33c95bf4d6f06986099671f00923d7.zip
correct usage message
-rw-r--r--pulsemix.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/pulsemix.c b/pulsemix.c
index 22a89c3..905552a 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -442,23 +442,23 @@ void usage(FILE *out)
fprintf(out, "usage: %s [options] <command>...\n", program_invocation_short_name);
fputs("\nOptions:\n", out);
fputs(" -h, --help, display this help and exit\n", out);
- fputs(" -o, --sink <name> control a sink other than the default\n", out);
- fputs(" -i, --source <name> control a source\n", out);
+ fputs(" -o, --sink=<name> control a sink other than the default\n", out);
+ fputs(" -i, --source=<name> control a source\n", out);
fputs("\nCommands:\n", out);
fputs(" defaults list default devices\n", out);
- fputs(" list list available sinks\n", out);
- fputs(" get-volume get volume for sink\n", out);
- fputs(" set-volume VALUE set volume for sink\n", out);
- fputs(" get-balance get balance for sink\n", out);
- fputs(" set-balance VALUE set balance for sink\n", out);
+ fputs(" list list available devices\n", out);
+ fputs(" get-volume get volume for device\n", out);
+ fputs(" set-volume VALUE set volume for device\n", out);
+ fputs(" get-balance get balance for device\n", out);
+ fputs(" set-balance VALUE set balance for device\n", out);
fputs(" increase VALUE increase volume\n", out);
fputs(" decrease VALUE decrease volume\n", out);
- fputs(" mute mute active sink\n", out);
- fputs(" unmute unmute active sink\n", out);
+ fputs(" mute mute device\n", out);
+ fputs(" unmute unmute device\n", out);
fputs(" toggle toggle mute\n", out);
fputs(" is-muted check if muted\n", out);
- fputs(" set-default NAME set default sink\n", out);
+ fputs(" set-default NAME set default device\n", out);
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}