From: Kent Gibson <warthog618@gmail.com>
To: linux-gpio@vger.kernel.org, brgl@bgdev.pl
Cc: Kent Gibson <warthog618@gmail.com>
Subject: [libgpiod][PATCH v2 2/2] gpioset: improve toggle option help
Date: Fri, 29 Dec 2023 17:33:28 +0800 [thread overview]
Message-ID: <20231229093328.62366-3-warthog618@gmail.com> (raw)
In-Reply-To: <20231229093328.62366-1-warthog618@gmail.com>
Reword toggle option help to add that a 0 terminated sequence will
exit.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
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>[,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.39.2
next prev parent reply other threads:[~2023-12-29 9:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-29 9:33 [libgpiod][PATCH v2 0/2] gpioset: improve help Kent Gibson
2023-12-29 9:33 ` [libgpiod][PATCH v2 1/2] gpioset: reword note on post-exit behaviour Kent Gibson
2023-12-29 9:33 ` Kent Gibson [this message]
2024-01-02 14:08 ` [libgpiod][PATCH v2 0/2] gpioset: improve help Bartosz Golaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231229093328.62366-3-warthog618@gmail.com \
--to=warthog618@gmail.com \
--cc=brgl@bgdev.pl \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.