[PATCH] clk: fix clk_set_rate command help text

Denis Orlov denorl2009 at gmail.com
Wed Mar 20 09:43:36 PDT 2024


It was at odds with the list of options, with the former mentioning
RATE and the latter mentioning HZ as a parameter. It seems that every
other clk-related command uses HZ, so use it here too.

Signed-off-by: Denis Orlov <denorl2009 at gmail.com>
---
 commands/clk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/clk.c b/commands/clk.c
index b1741b9da4..606519091e 100644
--- a/commands/clk.c
+++ b/commands/clk.c
@@ -67,7 +67,7 @@ static int do_clk_set_rate(int argc, char *argv[])
 }
 
 BAREBOX_CMD_HELP_START(clk_set_rate)
-BAREBOX_CMD_HELP_TEXT("Set clock CLK to RATE")
+BAREBOX_CMD_HELP_TEXT("Set clock CLK rate to HZ")
 BAREBOX_CMD_HELP_END
 
 BAREBOX_CMD_START(clk_set_rate)
-- 
2.44.0




More information about the barebox mailing list