diff options
| author | Alexander Dahl <[email protected]> | 2023-08-04 17:53:23 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2023-08-10 08:39:11 +0200 |
| commit | 8ba4eae01da11e73e7ee9f7047979f4d2ebfe5fc (patch) | |
| tree | f77ac3bd6cd8399aca4c096252b71d3baee82a36 /cmd/cyclic.c | |
| parent | ec58228830a1f68e8e65099387cf12c5a91c9e72 (diff) | |
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 <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'cmd/cyclic.c')
| -rw-r--r-- | cmd/cyclic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cyclic.c b/cmd/cyclic.c index 97324d82405..946f1d78184 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 <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, |
