mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 18:34:42 +00:00
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 <cycletime_ms> <delay_us> - register cyclic demo function cyclic list - list cyclic functions Signed-off-by: Alexander Dahl <ada@thorsis.com> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
ec58228830
commit
8ba4eae01d
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ static int do_cyclic_list(struct cmd_tbl *cmdtp, int flag, int argc,
|
|||
}
|
||||
|
||||
static char cyclic_help_text[] =
|
||||
"cyclic demo <cycletime_ms> <delay_us> - register cyclic demo function\n"
|
||||
"demo <cycletime_ms> <delay_us> - register cyclic demo function\n"
|
||||
"cyclic list - list cyclic functions\n";
|
||||
|
||||
U_BOOT_CMD_WITH_SUBCMDS(cyclic, "Cyclic", cyclic_help_text,
|
||||
|
|
Loading…
Add table
Reference in a new issue