From 596d9aa740a66e84366fc42b6fd7156cde280a68 Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Tue, 29 Jan 2013 17:27:11 +0100 Subject: [PATCH] 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 --- src/utils/pactl.c | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.7.4