From 87fbcc622ba50244f9600a0d0b07a50ad1e10228 Mon Sep 17 00:00:00 2001 From: Kent Gibson Date: Fri, 29 Dec 2023 17:33:28 +0800 Subject: [PATCH] gpioset: improve toggle option help Reword toggle option help to add that a 0 terminated sequence will exit. Signed-off-by: Kent Gibson Signed-off-by: Bartosz Golaszewski --- tools/gpioset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gpioset.c b/tools/gpioset.c index f2f9a15..863da4a 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]...\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"); -- 2.30.2