[U-Boot] [PATCH] [UBI] UBI command support

Wolfgang Denk wd at denx.de
Wed Oct 22 08:47:49 CEST 2008


Dear Kyungmin Park,

In message <9c9fda240810211756w189ae2a3rb26389ce61dbe772 at mail.gmail.com> you wrote:
...
> >> +     printf("Unknown UBI command or invalid number of arguments\n");
> >
> > Print usage message instead.
> 
> How to display usage?

	printf ("Usage:\n%s\n", cmdtp->usage);

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
Misquotation is, in fact, the pride and privilege of the  learned.  A
widely-read  man  never  quotes  accurately,  for  the rather obvious
reason that he has read too widely.
                - Hesketh Pearson _Common Misquotations_ introduction


More information about the U-Boot mailing list