]> git.baikalelectronics.ru Git - uboot.git/commit
cmd/led: check subcommand "list" instead "l"
authorHeiko Schocher <hs@denx.de>
Mon, 27 May 2019 06:14:16 +0000 (08:14 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 5 Jun 2019 16:14:02 +0000 (12:14 -0400)
commit1bda2427ac91d5b2c07d4fc9dd87ed0eb7b8a071
tree2414554a9caff9998089915eefc4c4e9fce044f3
parent9162e09cf205324f6b13f57aa504792d25945132
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>
cmd/led.c