
Hello,
In message 1243185450-20518-1-git-send-email-wd@denx.de you wrote:
In case of incorrect command invocations U-Boot used to print pretty useless "usage" messages, for example:
=> nand markbad Usage: nand - NAND sub-system
In the result, the user would have to run the "help" command to get the (available) information about correct command usage. Change this, so that this information gets always printed.
Note that this changes the user interface of all commands, but hopefully to the better.
Signed-off-by: Wolfgang Denk wd@denx.de
Please help test this patch - many boards have developed their own style, and this affects them all.
Resent, by accident the original sender address got garbled.
common/command.c | 33 ++++++++++++++++----------------- include/command.h | 2 +- 2 files changed, 17 insertions(+), 18 deletions(-)
Apoplied to next.
Best regards,
Wolfgang Denk