commit | ea41b15617fa6869a6bb628dad8f972db4d77139 | [log] [tgz] |
---|---|---|
author | Heiko Schocher <hs@denx.de> | Mon May 27 08:14:16 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Jun 05 12:14:02 2019 -0400 |
tree | 2414554a9caff9998089915eefc4c4e9fce044f3 | |
parent | c5646270d1783982fc76eff831e5f3e63cb626cd [diff] |
cmd/led: check subcommand "list" instead "l" current implementation for checking if "led list" command is called checks only if "l" is passed to the led command. This prevents switching leds with name which starts also with a "l". So check for passing "list". While at it, also fix a typo in led command usage. Signed-off-by: Heiko Schocher <hs@denx.de>