~vilhalmer/pavc

7597bc4c9ba823c047b54d90fa8760dee8b39c55 — Bill Doyle 9 months ago b7a3fab
Document that you can give sink index or name
1 files changed, 5 insertions(+), 4 deletions(-)

M pavc.c
M pavc.c => pavc.c +5 -4
@@ 66,9 66,10 @@ static void state_changed(pa_context * ctx, void * userdata) {


const char * usage =
	"Usage: pavc [-h] [-s sink_idx] [<command> [<args>]]\n"
	"Usage: pavc [-h] [-s sink_id] [<command> [<args>]]\n"
	"  -h        Show this help\n"
	"  -s        Operate on a specific sink instead of the default\n"
	"  -s        Operate on a specific sink instead of the default; may be\n"
	"            either a name or index\n"
	"\n"
	"Commands:\n"
	"  mute      Mute the sink\n"


@@ 78,8 79,8 @@ const char * usage =
	"  down [%]  Decrease the volume by the given percent, or 5% by default\n"
	"  set <%>   Set the volume to an absolute percent\n"
	"\n"
	"If no command is given, the current volume of the selected sink is printed.\n"
	"Commands may be abbreviated.\n"
	"If no command is given, the current volume of the selected sink is\n"
	"printed. Commands may be abbreviated.\n"
	"";