[pulseaudio-commits] src/utils

David Henningsson diwic at kemper.freedesktop.org
Mon Feb 4 01:04:11 PST 2013


 src/utils/pactl.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 596d9aa740a66e84366fc42b6fd7156cde280a68
Author: David Henningsson <david.henningsson at canonical.com>
Date:   Tue Jan 29 17:27:11 2013 +0100

    pactl: Document @DEFAULT_SINK@, @DEFAULT_SOURCE@ and @DEFAULT_MONITOR@
    
    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 at canonical.com>

diff --git a/src/utils/pactl.c b/src/utils/pactl.c
index 020085d..0fb62cb 100644
--- a/src/utils/pactl.c
+++ b/src/utils/pactl.c
@@ -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"



More information about the pulseaudio-commits mailing list