From: Alexander Dahl Date: Fri, 4 Aug 2023 15:53:23 +0000 (+0200) Subject: cmd: cyclic: Remove duplicate command name in help text X-Git-Tag: v2025.01-rc5-pxa1908~889^2~1 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=8ba4eae01da11e73e7ee9f7047979f4d2ebfe5fc;p=u-boot.git cmd: cyclic: Remove duplicate command name in help text Function 'cmd_usage()' already prints one command in usage before printing out the help text given to the U_BOOT_CMD_WITH_SUBCMDS macro. Wrong previous output: Usage: cyclic cyclic demo - register cyclic demo function cyclic list - list cyclic functions Signed-off-by: Alexander Dahl Reviewed-by: Stefan Roese --- diff --git a/cmd/cyclic.c b/cmd/cyclic.c index 97324d8240..946f1d7818 100644 --- a/cmd/cyclic.c +++ b/cmd/cyclic.c @@ -77,7 +77,7 @@ static int do_cyclic_list(struct cmd_tbl *cmdtp, int flag, int argc, } static char cyclic_help_text[] = - "cyclic demo - register cyclic demo function\n" + "demo - register cyclic demo function\n" "cyclic list - list cyclic functions\n"; U_BOOT_CMD_WITH_SUBCMDS(cyclic, "Cyclic", cyclic_help_text,