[U-Boot] [PATCH] thor: cosmetic: Update the cmd_thordown help message to present example usage

Lukasz Majewski l.majewski at samsung.com
Mon Jun 23 09:01:05 CEST 2014


Hi Stephen,

> On 06/20/2014 01:35 AM, Lukasz Majewski wrote:
> 
> > diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c
> 
> >  U_BOOT_CMD(thordown, CONFIG_SYS_MAXARGS, 1, do_thor_down,
> >  	   "TIZEN \"THOR\" downloader",
> > -	   "<USB_controller> <interface> <dev>\n"
> > +	   "<USB_controller> <interface> <dev> e.g. thor 0 mmc 0\n"
> >  	   "  - device software upgrade via LTHOR TIZEN dowload\n"
> >  	   "    program via <USB_controller> on device <dev>,\n"
> >  	   "	attached to interface <interface>\n"
> 
> I couldn't find any examples of other commands which do this. Rathe
> than add the "e.g." text, perhaps just add the word "thor" at the
> start of the command parameter list. That's much more common in
> existing commands:
> 
> -	   "<USB_controller> <interface> <dev>\n"
> +	   "thor <USB_controller> <interface> <dev>\n"
> 

Ok. Thanks.

-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group


More information about the U-Boot mailing list