cmd_nand: fix help of nand erase subcommand
authorDaniel Hobi <daniel.hobi@schmid-telecom.ch>
Thu, 19 May 2011 17:28:54 +0000 (19:28 +0200)
committerScott Wood <scottwood@freescale.com>
Tue, 24 May 2011 21:08:44 +0000 (16:08 -0500)
Since commit 30486322 (nand erase: .spread, .part, .chip subcommands)
the arguments off and size are no longer optional.

Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
Cc: Scott Wood <scottwood@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
common/cmd_nand.c

index 7bd37de78dee9e717f4c521c2eeaa51fe2825de3..44c4d1f89ce2b2e189d275ee297e7090835f5805 100644 (file)
@@ -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"