Skip to contentSkip to conversation

tools: line wrap period help

PATCH Applied Kent Gibson 2 participants 2 messages Oct 3, 2024 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: line wrap period help

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

---
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(-)
tools/tools-common.c +2 -1
index 4340bce..a684fcb 100644
@@ -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
Signature · 1 line
2.39.5
#1 lore raw

From: Bartosz Golaszewski <[email protected]>

Quoted 4 lines · Kent Gibson

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,

Signature · 1 line
Bartosz Golaszewski <[email protected]>