projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901302b
)
tools: line wrap period help
author
Kent Gibson
<warthog618@gmail.com>
Thu, 3 Oct 2024 02:07:43 +0000
(10:07 +0800)
committer
Bartosz Golaszewski
<bartosz.golaszewski@linaro.org>
Thu, 3 Oct 2024 08:50:15 +0000
(10:50 +0200)
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>
Link:
https://lore.kernel.org/r/20241003020743.27194-1-warthog618@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/tools-common.c
patch
|
blob
|
history
diff --git
a/tools/tools-common.c
b/tools/tools-common.c
index 4340bce36818ffdb16a24765f0048ea9caae0ed3..a684fcbd22eb32ccc822b83d5bf96fa9b976a9e9 100644
(file)
--- 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