* [PATCH master] commands: cpuinfo: unify command description
@ 2026-08-26 8:33 Ahmad Fatoum
2026-08-28 11:54 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-08-26 8:33 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
While the rendering of the barebox command help text into the documentation
got better between v206.07.0 and v2026.08, it's still not completely
right:
https://www.barebox.org/doc/2026.07.0/commands/info/cpuinfo.html
https://www.barebox.org/doc/2026.08.0/commands/info/cpuinfo.html
This is due to having differing BAREBOX_CMD_DESC content between the
implementations of the command. Just use the same string everywhere to
fix this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
arch/arm/cpu/cpuinfo.c | 2 +-
arch/sandbox/board/cpuinfo.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/cpuinfo.c b/arch/arm/cpu/cpuinfo.c
index c8435e34fdd8..27c5e0697b87 100644
--- a/arch/arm/cpu/cpuinfo.c
+++ b/arch/arm/cpu/cpuinfo.c
@@ -283,7 +283,7 @@ BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(cpuinfo)
.cmd = do_cpuinfo,
- BAREBOX_CMD_DESC("show info about CPU")
+ BAREBOX_CMD_DESC("show CPU information")
BAREBOX_CMD_OPTS("[-sm]")
BAREBOX_CMD_GROUP(CMD_GRP_INFO)
BAREBOX_CMD_COMPLETE(empty_complete)
diff --git a/arch/sandbox/board/cpuinfo.c b/arch/sandbox/board/cpuinfo.c
index 589135102cd3..00516560d30a 100644
--- a/arch/sandbox/board/cpuinfo.c
+++ b/arch/sandbox/board/cpuinfo.c
@@ -45,7 +45,7 @@ BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(cpuinfo)
.cmd = do_cpuinfo,
- BAREBOX_CMD_DESC("show info about CPU")
+ BAREBOX_CMD_DESC("show CPU information")
BAREBOX_CMD_OPTS("[-s]")
BAREBOX_CMD_GROUP(CMD_GRP_INFO)
BAREBOX_CMD_COMPLETE(empty_complete)
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-28 11:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26 8:33 [PATCH master] commands: cpuinfo: unify command description Ahmad Fatoum
2026-08-28 11:54 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox