[PATCH] cmd: demo: Remove duplicated help message for list subcommand
Michal Simek
michal.simek at xilinx.com
Thu Aug 13 10:12:21 CEST 2020
There is no need to show demo list description twice when help demo is
performed. The patch removes duplicated entry.
Current state:
=> help demo
demo - Driver model (dm) demo operations
Usage:
demo list List available demo devices
demo hello <num> [<char>] Say hello
demo light [<num>] Set or get the lights
demo status <num> Get demo device status
demo list List available demo devices
Fixes: a02af4aeece4 ("dm: demo: Add a simple GPIO demonstration")
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
cmd/demo.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/cmd/demo.c b/cmd/demo.c
index f923533f794b..7310aa2907ad 100644
--- a/cmd/demo.c
+++ b/cmd/demo.c
@@ -130,5 +130,4 @@ U_BOOT_CMD(
"demo hello <num> [<char>] Say hello\n"
"demo light [<num>] Set or get the lights\n"
"demo status <num> Get demo device status\n"
- "demo list List available demo devices"
);
--
2.28.0
More information about the U-Boot
mailing list