linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [libgpiod][PATCH] tools: line wrap period help
@ 2024-10-03  2:07 Kent Gibson
  2024-10-03  8:50 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Kent Gibson @ 2024-10-03  2:07 UTC (permalink / raw)
  To: linux-gpio, brgl; +Cc: Kent Gibson

The help for periods is overly long so wrap it to make it more
consistent with other help lines.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
I've been meaning to send this one in for a while, not seeing a release
coming quite so soon.

Cheers,
Kent.

 tools/tools-common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/tools-common.c b/tools/tools-common.c
index 4340bce..a684fcb 100644
--- a/tools/tools-common.c
+++ b/tools/tools-common.c
@@ -215,7 +215,8 @@ void print_period_help(void)
 {
 	printf("\nPeriods:\n");
 	printf("    Periods are taken as milliseconds unless units are specified. e.g. 10us.\n");
-	printf("    Supported units are 'm', 's', 'ms', and 'us' for minutes, seconds, milliseconds and microseconds respectively.\n");
+	printf("    Supported units are 'm', 's', 'ms', and 'us' for minutes, seconds, milliseconds and\n");
+	printf("    microseconds respectively.\n");
 }
 
 #define TIME_BUFFER_SIZE 20
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-03  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-03  2:07 [libgpiod][PATCH] tools: line wrap period help Kent Gibson
2024-10-03  8:50 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).