Skip to contentSkip to conversation

cmd_mmc remove \n

PATCH New Frans Meulenbroeks 2 participants 2 messages Feb 25, 2010 – Mar 21, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd_mmc remove \n

This patch removed the \n after the help message for mmcinfo. This one resulted in an empty line being displayed after the mmcinfo line when the help command was given.

---
 common/cmd_mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
common/cmd_mmc.c +1 -1
index 0e3393b..c67c9cf 100644
@@ -136,7 +136,7 @@ int do_mmcinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(mmcinfo, 2, 0, do_mmcinfo,
-	"mmcinfo <dev num>-- display MMC info\n",
+	"mmcinfo <dev num>-- display MMC info",
 	""
 );
 
Signature · 1 line
1.7.0
#1 lore raw

PATCH 1/1 cmd_mmc remove \n

Dear Frans Meulenbroeks,

Quoted 8 lines · In message <[email protected]> you…

This patch removed the \n after the help message for mmcinfo. This one resulted in an empty line being displayed after the mmcinfo line when the help command was given.

---
 common/cmd_mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 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
"A little knowledge is a dangerous thing."                - Doug Gwyn