From da93a3b00a440406af10d802f5822772bdd2e948 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Sun, 5 Feb 2017 17:25:30 +0100 Subject: [PATCH] gpioset: fix helptext Add 'signal' to the list of available modes. Signed-off-by: Bartosz Golaszewski --- src/tools/gpioset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.30.2