From: David Henningsson Date: Tue, 29 Jan 2013 16:27:11 +0000 (+0100) Subject: pactl: Document @DEFAULT_SINK@, @DEFAULT_SOURCE@ and @DEFAULT_MONITOR@ X-Git-Tag: v3.99.1~141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=596d9aa740a66e84366fc42b6fd7156cde280a68;p=platform%2Fupstream%2Fpulseaudio.git 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 --- 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"