diff mbox series

[libgpiod] tools: line wrap period help

Message ID 20241003020743.27194-1-warthog618@gmail.com
State New
Headers show
Series [libgpiod] tools: line wrap period help | expand

Commit Message

Kent Gibson Oct. 3, 2024, 2:07 a.m. UTC
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(-)

Comments

Bartosz Golaszewski Oct. 3, 2024, 8:50 a.m. UTC | #1
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Thu, 03 Oct 2024 10:07:43 +0800, Kent Gibson wrote:
> The help for periods is overly long so wrap it to make it more
> consistent with other help lines.
> 
> 

Come on, I don't see how this is "quite soon". :)

Applied, thanks!

[1/1] tools: line wrap period help
      commit: 07c5c49862961f24863128c46de41dbd1b1c7e16

Best regards,
diff mbox series

Patch

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