commit | 741f2696b48c6f1b081b85cc5f7407eababaf534 | [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 | c1932e469c7d3a43915f8b4630d8129728fd6d96 [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>