cmd: demo: Remove duplicated help message for list subcommand
authorMichal Simek <michal.simek@xilinx.com>
Thu, 13 Aug 2020 08:12:21 +0000 (10:12 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 14 Aug 2020 19:18:30 +0000 (15:18 -0400)
commit698383fe8ea3a755f93e9e9446a5560e040c6b56
tree0836caec6551ce8b277714c95e7bf0003ab64311
parent8071348de4f18be591d54e4759a793445abb09f2
cmd: demo: Remove duplicated help message for list subcommand

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@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/demo.c