"nandecc" help output should not reproduce the command name, nor have
a trailing newline.

Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca>

---

  compiled, loaded and run to verify correct output.


diff --git a/cpu/arm_cortexa8/omap3/board.c b/cpu/arm_cortexa8/omap3/board.c
index dd2c940..2aa69b3 100644
--- a/cpu/arm_cortexa8/omap3/board.c
+++ b/cpu/arm_cortexa8/omap3/board.c
@@ -328,7 +328,7 @@ usage:

 U_BOOT_CMD(
        nandecc, 2, 1,  do_switch_ecc,
-       "nandecc - switch OMAP3 NAND ECC calculation algorithm\n",
+       "switch OMAP3 NAND ECC calculation algorithm",
        "[hw/sw] - Switch between NAND hardware (hw) or software (sw) ecc 
algorithm"
 );


========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to