]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cmd: led: fix help text for blink subcommand
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 12 Nov 2025 17:48:06 +0000 (18:48 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 3 Dec 2025 17:03:45 +0000 (11:03 -0600)
commit29a7fe55c557e462457f4fb3dcb25681952b0803
treee95b6563c45a226cbd0d49b4fdb0e4802b71744c
parentcaa740df9cae5ddc74b18b88a4fea43e27b2fdf6
cmd: led: fix help text for blink subcommand

The blink subcommand actually requires an additional parameter
(blink-freq) but not the others.

In order to simplify the help text, split the blink subcommand help text
from the off|on|toggle subcommands.

Then, fix the help text so that it is clear that the frequency is
required.

While at it, specify the duty cycle.

Fixes: ffe2052d6e8a ("dm: led: Add a new 'led' command")
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
cmd/led.c