gpioset: fix helptext
authorBartosz Golaszewski <bartekgola@gmail.com>
Sun, 5 Feb 2017 16:25:30 +0000 (17:25 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Sun, 5 Feb 2017 16:25:30 +0000 (17:25 +0100)
Add 'signal' to the list of available modes.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/tools/gpioset.c

index 2fd6b680c319c78de82c99bb625a54728949ea6c..6febc07e2267d3333c6da564002ece8a294b313a 100644 (file)
@@ -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");