cmd: event: Remove additional event description
authorMichal Simek <michal.simek@amd.com>
Tue, 17 Jan 2023 10:44:45 +0000 (11:44 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 18 Jan 2023 17:46:13 +0000 (12:46 -0500)
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/event.c

index 9cac202..b4b779f 100644 (file)
@@ -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,