From a6df28b9593cab81749f89b23a84991cee1e81e5 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 17 Jan 2023 11:44:45 +0100 Subject: [PATCH] cmd: event: Remove additional event description 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 8fcd62a9a22a ("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 Reviewed-by: Simon Glass --- cmd/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/event.c b/cmd/event.c index 9cac202353..b4b779ffac 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, -- 2.39.5