summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2012-11-11 10:39:07 +0000
committerTom Rini <trini@ti.com>2012-12-06 13:56:39 -0700
commitd4b901dd738fc1712960d92668b0dd62e06eabba (patch)
tree81e26c00bbbbc7b7d3a63beb7ac5177e9cbfec0d /common
parentd060e6f4416e667d718ad60636fdf6cbf5f1f576 (diff)
downloadu-boot-imx-d4b901dd738fc1712960d92668b0dd62e06eabba.zip
u-boot-imx-d4b901dd738fc1712960d92668b0dd62e06eabba.tar.gz
u-boot-imx-d4b901dd738fc1712960d92668b0dd62e06eabba.tar.bz2
cmd_led.c: Standardize format of help and usage info.
Current "led" help and usage info has redundancy and extraneous newlines, tweak it to be consistent with other commands. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_led.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_led.c b/common/cmd_led.c
index d83b3ba..7f5ab43 100644
--- a/common/cmd_led.c
+++ b/common/cmd_led.c
@@ -140,7 +140,7 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
U_BOOT_CMD(
led, 3, 1, do_led,
- "led\t- ["
+ "["
#ifdef CONFIG_BOARD_SPECIFIC_LED
#ifdef STATUS_LED_BIT
"0|"
@@ -167,6 +167,6 @@ U_BOOT_CMD(
#ifdef STATUS_LED_BLUE
"blue|"
#endif
- "all] [on|off|toggle]\n",
- "led [led_name] [on|off|toggle] sets or clears led(s)\n"
+ "all] [on|off|toggle]",
+ "[led_name] [on|off|toggle] sets or clears led(s)"
);