From 48fa7298255a2a9bb1fdac4ecf4f6c9d2b269c9e Mon Sep 17 00:00:00 2001 From: Mke Brady Date: Mon, 1 Sep 2014 22:13:24 +0100 Subject: [PATCH] Change the help text to reflect ability to add arguments to on-start and on-stop commands. --- shairport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shairport.c b/shairport.c index 5bcdf04d..2b0f8511 100644 --- a/shairport.c +++ b/shairport.c @@ -156,7 +156,7 @@ void usage(char *progname) { printf(" -k, --kill kill the existing shairport daemon.\n"); printf(" -B, --on-start=PROGRAM run PROGRAM when playback is about to begin.\n"); printf(" -E, --on-stop=PROGRAM run PROGRAM when playback has ended.\n"); - printf(" For -B and -E options, specify the full path to the program, which must take no arguments.\n"); + printf(" For -B and -E options, specify the full path to the program, e.g. /usr/bin/logger.\n"); printf(" Executable scripts work, but must have #!/bin/sh (or whatever) in the headline.\n"); printf(" -w, --wait-cmd wait until the -B or -E programs finish before continuing\n"); printf(" -o, --output=BACKEND select audio output method\n");