From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH master] commands: cpuinfo: unify command description
Date: Wed, 26 Aug 2026 10:33:00 +0200 [thread overview]
Message-ID: <20260826083303.864464-1-a.fatoum@pengutronix.de> (raw)
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
next reply other threads:[~2026-08-26 8:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-26 8:33 Ahmad Fatoum [this message]
2026-08-28 11:54 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260826083303.864464-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox