Skip to contentSkip to conversation

powerpc/pixis: Fix pixis help message

PATCH New York Sun 2 participants 2 messages May 31, 2013 – Jun 21, 2013

lore
Share & tools
lore

York Sun

author
#0 lore raw

PATCH v2 1/1 powerpc/pixis: Fix pixis help message

"pixis_reset help" command prints the message without a new line "\n", which makes the prompt on the same line.

---
 board/freescale/common/pixis.c |    2 ++
 1 file changed, 2 insertions(+)
board/freescale/common/pixis.c +2 -0
index 8d07061..fbb709d 100644
@@ -480,6 +480,7 @@ static int pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const ar
 	    ||	unknown_param) {
 #ifdef CONFIG_SYS_LONGHELP
 		puts(cmdtp->help);
+		putc('\n');
 #endif
 		return 1;
 	}
@@ -512,6 +513,7 @@ static int pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const ar
 		      && set_px_mpxpll(mpxpll))) {
 #ifdef CONFIG_SYS_LONGHELP
 			puts(cmdtp->help);
+			putc('\n');
 #endif
 			return 1;
 		}
Signature · 1 line
1.7.9.5
Applied
#1 lore raw

PATCH v2 1/1 powerpc/pixis: Fix pixis help message

Quoted 4 lines · York Sun

"pixis_reset help" command prints the message without a new line "\n", which makes the prompt on the same line.

Applied, thanks!

Andy