From: Daniel Hobi Date: Thu, 19 May 2011 17:28:54 +0000 (+0200) Subject: cmd_nand: fix help of nand erase subcommand X-Git-Tag: v2011.06-rc2~9^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eb3abce898ce0d9c711ed1d107bd8b0ccf3c07de;p=oweals%2Fu-boot.git cmd_nand: fix help of nand erase subcommand Since commit 30486322 (nand erase: .spread, .part, .chip subcommands) the arguments off and size are no longer optional. Signed-off-by: Daniel Hobi Cc: Scott Wood Signed-off-by: Scott Wood --- diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 7bd37de78d..44c4d1f89c 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -693,7 +693,7 @@ U_BOOT_CMD( " write 'size' bytes starting at offset 'off' with yaffs format\n" " from memory address 'addr', skipping bad blocks.\n" #endif - "nand erase[.spread] [clean] [off [size]] - erase 'size' bytes " + "nand erase[.spread] [clean] off size - erase 'size' bytes " "from offset 'off'\n" " With '.spread', erase enough for given file size, otherwise,\n" " 'size' includes skipped bad blocks.\n"