diff options
author | Kent Gibson <warthog618@gmail.com> | 2023-12-29 17:33:28 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-01-02 15:08:10 +0100 |
commit | 87fbcc622ba50244f9600a0d0b07a50ad1e10228 (patch) | |
tree | b66a3252bed97eefb17eab829bcc4226f9a562de | |
parent | 36cdbd0c45db8dd0779973eded2bf41e5ad27bcb (diff) | |
download | libgpiod-87fbcc622ba50244f9600a0d0b07a50ad1e10228.tar.gz |
gpioset: improve toggle option help
Reword toggle option help to add that a 0 terminated sequence will exit.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-rw-r--r-- | tools/gpioset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpioset.c b/tools/gpioset.c index f2f9a155..863da4a8 100644 --- a/tools/gpioset.c +++ b/tools/gpioset.c @@ -68,7 +68,7 @@ static void print_help(void) printf(" -s, --strict\t\tabort if requested line names are not unique\n"); printf(" -t, --toggle <period>[,period]...\n"); printf("\t\t\ttoggle the line(s) after the specified period(s)\n"); - printf("\t\t\tIf the last period is non-zero then the sequence repeats.\n"); + printf("\t\t\tIf the last period is 0 then gpioset exits else the sequence repeats.\n"); printf(" --unquoted\tdon't quote line names\n"); printf(" -v, --version\t\toutput version information and exit\n"); printf(" -z, --daemonize\tset values then detach from the controlling terminal\n"); |