[U-Boot] [PATCH] common: cmd_sata: Fix usage text for 'sata init'

Stefano Babic sbabic at denx.de
Sat Feb 23 10:53:52 CET 2013


On 21/02/2013 01:35, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> Currently sata usage text prints a double 'sata' for the init command.
> 
> MX53LOCO U-Boot > sata    
> sata - SATA sub system
> 

Hi Fabio,

> Usage:
> sata sata init - init SATA sub system
> sata info - show available SATA devices
> sata device [dev] - show or set current device
> sata part [dev] - print partition table
> sata read addr blk# cnt
> sata write addr blk# cnt
> 
> Remove the extra 'sata' from the 'sata init' line.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  common/cmd_sata.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/cmd_sata.c b/common/cmd_sata.c
> index b401bd1..8d57285 100644
> --- a/common/cmd_sata.c
> +++ b/common/cmd_sata.c
> @@ -196,7 +196,7 @@ static int do_sata(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
>  U_BOOT_CMD(
>  	sata, 5, 1, do_sata,
>  	"SATA sub system",
> -	"sata init - init SATA sub system\n"
> +	"init - init SATA sub system\n"
>  	"sata info - show available SATA devices\n"
>  	"sata device [dev] - show or set current device\n"
>  	"sata part [dev] - print partition table\n"
> 

I think we do not need to talk a lot about it. Applied to u-boot-imx,
thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list