[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 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,

On Tue, 17 Jan 2023 at 03:44, Michal Simek michal.simek@amd.com wrote:
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(-)
Reviewed-by: Simon Glass sjg@chromium.org

On Tue, Jan 17, 2023 at 11:44:45AM +0100, Michal Simek wrote:
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
Applied to u-boot/master, thanks!
participants (3)
-
Michal Simek
-
Simon Glass
-
Tom Rini