]> code.delx.au - pulseaudio/commitdiff
pactl: Document @DEFAULT_SINK@, @DEFAULT_SOURCE@ and @DEFAULT_MONITOR@
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 29 Jan 2013 16:27:11 +0000 (17:27 +0100)
committerDavid Henningsson <david.henningsson@canonical.com>
Mon, 4 Feb 2013 09:01:57 +0000 (10:01 +0100)
I went to implement the possibility to use the default sink/source
but found that it was already working. So I figured I'd update
the help text instead.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/utils/pactl.c

index 020085dd762c8091c2e82c3a0f181b4069829171..0fb62cb064eae0b58d34a8d5398420d3fe7af715 100644 (file)
@@ -1510,6 +1510,8 @@ static void help(const char *argv0) {
     printf("%s %s %s %s\n", argv0, _("[options]"), "set-sink-formats", _("#N FORMATS"));
     printf("%s %s %s %s\n", argv0, _("[options]"), "set-port-latency-offset", _("CARD-NAME|CARD-#N PORT OFFSET"));
     printf("%s %s %s\n",    argv0, _("[options]"), "subscribe");
+    printf(_("\nThe special names @DEFAULT_SINK@, @DEFAULT_SOURCE@ and @DEFAULT_MONITOR@\n"
+             "can be used to specify the default sink, source and monitor.\n"));
 
     printf(_("\n"
              "  -h, --help                            Show this help\n"