[U-Boot] [PATCH] cmd_usb.c: show cmd usage if no args given
Wolfgang Denk
wd at denx.de
Thu May 6 23:36:55 CEST 2010
Dear Serge Ziryukin,
In message <1272220356-1024-1-git-send-email-ftrvxmtrx at gmail.com> you wrote:
> Signed-off-by: Serge Ziryukin <ftrvxmtrx at gmail.com>
> ---
> common/cmd_usb.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
Applied.
Note that the old code already printed a usage message when called
without arguments, but only after USB had been started, so your code
is indeed an improvement. Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When a program is being tested, it is too late to make design
changes. -- Geoffrey James, "The Tao of Programming"
More information about the U-Boot
mailing list