[U-Boot] [PATCH] thor: cosmetic: Update the cmd_thordown help message to present example usage
Stephen Warren
swarren at wwwdotorg.org
Fri Jun 20 17:59:20 CEST 2014
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"
More information about the U-Boot
mailing list