Skip to content
Commit ea41b156 authored by Heiko Schocher's avatar Heiko Schocher Committed by Tom Rini
Browse files

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: default avatarHeiko Schocher <hs@denx.de>
parent c5646270
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment