瀏覽代碼

help: Correct syntax of nandecc help output.

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

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Robert P. J. Day 15 年之前
父節點
當前提交
a93c92cdda
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cpu/arm_cortexa8/omap3/board.c

+ 1 - 1
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"
 );