Skip to contentSkip to conversation

help: Correct syntax of nandecc help output.

PATCH New Robert P. J. Day 2 participants 2 messages Nov 17, 2009 – Dec 7, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 help: Correct syntax of nandecc help output.

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

---

compiled, loaded and run to verify correct output.

cpu/arm_cortexa8/omap3/board.c +1 -1
index dd2c940..2aa69b3 100644
@@ -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

========================================================================

#1 lore raw

PATCH 1/1 help: Correct syntax of nandecc help output.

Dear "Robert P. J. Day",

Quoted 5 lines · In message <alpine.LFD.2.00.0911170728050.13922@localhost> you wrote:

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

Applied, thanks.

Tom, Sandeep, I hope this is OK with you.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
FORTRAN? The syntactically incorrect statement "DO 10 I = 1.10"  will
parse  and  generate  code  creating  a  variable, DO10I, as follows:
"DO10I = 1.10" If that doesn't terrify you, it should.