cmd_nand: Do not show usage when scrub is aborted
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 11 Jul 2013 08:29:57 +0000 (17:29 +0900)
committerScott Wood <scottwood@freescale.com>
Thu, 22 Aug 2013 22:25:03 +0000 (17:25 -0500)
commit46aabcc446dbae5637f2b9106c1f2be9326c1018
tree42092825abdbdd0b00a2c4d9ace003bb47e548e0
parent7d25cd34e9d73ab7fff8f3c4283a11e50b0d204b
cmd_nand: Do not show usage when scrub is aborted

When executing nand scrub, the user gets the prompt:

  Really scrub this NAND flash? <y/N>

We do not want the annoying usage displayed when saying N here.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
common/cmd_nand.c