From: Bartosz Golaszewski Date: Sun, 5 Feb 2017 16:25:30 +0000 (+0100) Subject: gpioset: fix helptext X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=da93a3b00a440406af10d802f5822772bdd2e948;p=qemu-gpiodev%2Flibgpiod.git gpioset: fix helptext Add 'signal' to the list of available modes. Signed-off-by: Bartosz Golaszewski --- diff --git a/src/tools/gpioset.c b/src/tools/gpioset.c index 2fd6b68..6febc07 100644 --- a/src/tools/gpioset.c +++ b/src/tools/gpioset.c @@ -44,7 +44,7 @@ static void print_help(void) printf(" -h, --help:\t\tdisplay this message and exit\n"); printf(" -v, --version:\tdisplay the version and exit\n"); printf(" -l, --active-low:\tset the line active state to low\n"); - printf(" -m, --mode=[exit|wait|time] (defaults to 'exit'):\n"); + printf(" -m, --mode=[exit|wait|time|signal] (defaults to 'exit'):\n"); printf(" tell the program what to do after setting values\n"); printf(" -s, --sec=SEC:\tspecify the number of seconds to wait (only valid for --mode=time)\n"); printf(" -u, --usec=USEC:\tspecify the number of microseconds to wait (only valid for --mode=time)\n");