
The first name is taken from command name that's why shouldn't be listed in help. The similar change was also done by commit a84d3b6c5634 ("cmd: pwm: Remove additional pwm description"). Also remove additional spaces in help message.
Before: event event list - list event spies
After: event list - list event spies
Signed-off-by: Michal Simek michal.simek@amd.com ---
cmd/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/event.c b/cmd/event.c index 9cac20235305..b4b779ffac00 100644 --- a/cmd/event.c +++ b/cmd/event.c @@ -20,7 +20,7 @@ static int do_event_list(struct cmd_tbl *cmdtp, int flag, int argc,
#ifdef CONFIG_SYS_LONGHELP static char event_help_text[] = - "event list - list event spies"; + "list - list event spies"; #endif
U_BOOT_CMD_WITH_SUBCMDS(event, "Events", event_help_text,