]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: clk: fix long help message
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Mon, 31 Jan 2022 16:21:40 +0000 (17:21 +0100)
committerSean Anderson <seanga2@gmail.com>
Fri, 25 Feb 2022 06:41:04 +0000 (01:41 -0500)
Fix the long help message for "clk setfreq" command

Fixes: 7ab418fbe612 ("clk: add support for setting clk rate from cmdline")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Link: https://lore.kernel.org/r/20220131172131.4.Ic863c28ffdcc15b3f4616434c2efd88b4e45495c@changeid
cmd/clk.c

index 73dea5e746092a48bfd79ccaaeb548112d918ce8..a483fd8981227f6b3cd3a89a5b9ed4ea1fb21445 100644 (file)
--- a/cmd/clk.c
+++ b/cmd/clk.c
@@ -160,7 +160,7 @@ static int do_clk(struct cmd_tbl *cmdtp, int flag, int argc,
 #ifdef CONFIG_SYS_LONGHELP
 static char clk_help_text[] =
        "dump - Print clock frequencies\n"
-       "setfreq [clk] [freq] - Set clock frequency";
+       "clk setfreq [clk] [freq] - Set clock frequency";
 #endif
 
 U_BOOT_CMD(clk, 4, 1, do_clk, "CLK sub-system", clk_help_text);