[U-Boot] [PATCH] Fix help text of ext2load and fatload.

Tom Rini trini at ti.com
Mon Jul 14 17:26:32 CEST 2014


On Wed, Jul 09, 2014 at 10:40:07PM +0200, Pavel Machek wrote:
> 
> Fix help text of ext2load and fatload to match code in fs/fs.c
>     
> Signed-off-by: Pavel Machek <pavel at denx.de>
> 
> diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c
> index 5a4bcc1..2675ae8 100644
> --- a/common/cmd_ext2.c
> +++ b/common/cmd_ext2.c
> @@ -45,7 +45,7 @@ U_BOOT_CMD(
>  U_BOOT_CMD(
>  	ext2load,	6,	0,	do_ext2load,
>  	"load binary file from a Ext2 filesystem",
> -	"<interface> <dev[:part]> [addr] [filename] [bytes]\n"
> +	"<interface> [<dev[:part]> [addr [filename [bytes [pos]]]]]\n"

Wait, what? [] is optional, <> is mandatory.  With the rest of the
related patches I see you fix a problem about assuming addr but we still
have to pass along a dev at least, yes?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140714/55183982/attachment.pgp>


More information about the U-Boot mailing list