help: Correct syntax of nandecc help output.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 17 Nov 2009 12:30:23 +0000 (07:30 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Dec 2009 21:06:51 +0000 (22:06 +0100)
"nandecc" help output should not reproduce the command name, nor have
a trailing newline.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
cpu/arm_cortexa8/omap3/board.c

index dd2c94073b3805494cdc1a476c23c8ec62075fee..2aa69b383b426c494e712757135a540a6eb35f9a 100644 (file)
@@ -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"
 );