[U-Boot] [PATCH] led: fixup help/usage
Jason Kridner
jkridner at beagleboard.org
Thu Apr 21 01:52:33 CEST 2011
Placed a description inside the right field without usage information
and eliminated redundant usage information.
Signed-off-by: Jason Kridner <jkridner at beagleboard.org>
---
common/cmd_led.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/cmd_led.c b/common/cmd_led.c
index ab85dc6..848d38d 100644
--- a/common/cmd_led.c
+++ b/common/cmd_led.c
@@ -121,7 +121,8 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
U_BOOT_CMD(
led, 3, 1, do_led,
- "led\t- ["
+ "set or clear leds",
+ "["
#ifdef CONFIG_BOARD_SPECIFIC_LED
#ifdef STATUS_LED_BIT
"0|"
@@ -148,6 +149,5 @@ U_BOOT_CMD(
#ifdef STATUS_LED_BLUE
"blue|"
#endif
- "all] [on|off]\n",
- "led [led_name] [on|off] sets or clears led(s)\n"
+ "all] [on|off] sets or clears led(s)"
);
--
1.5.6.4
More information about the U-Boot
mailing list