public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] common: cmd_sata: Fix usage text for 'sata init'
@ 2013-02-21  0:35 Fabio Estevam
  2013-02-23  9:53 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2013-02-21  0:35 UTC (permalink / raw)
  To: u-boot

From: Fabio Estevam <fabio.estevam@freescale.com>

Currently sata usage text prints a double 'sata' for the init command.

MX53LOCO U-Boot > sata    
sata - SATA sub system

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@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"
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] common: cmd_sata: Fix usage text for 'sata init'
  2013-02-21  0:35 [U-Boot] [PATCH] common: cmd_sata: Fix usage text for 'sata init' Fabio Estevam
@ 2013-02-23  9:53 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2013-02-23  9:53 UTC (permalink / raw)
  To: u-boot

On 21/02/2013 01:35, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@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@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
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-23  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21  0:35 [U-Boot] [PATCH] common: cmd_sata: Fix usage text for 'sata init' Fabio Estevam
2013-02-23  9:53 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox