[U-Boot] [PATCH v2 1/2] cmd_usb_mass_storage: Remove extra 'ums' string in the usage text

Fabio Estevam festevam at gmail.com
Sat Feb 28 19:11:45 CET 2015


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

Currently the usage text for the 'ums' command looks like this:
                                                                                
Usage:                                                                          
ums ums <USB_controller> [<devtype>] <devnum>  e.g. ums 0 mmc 0                     

,so remove the extra 'ums' in the text.

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
Acked-by: Otavio Salvador <otavio at ossystems.com.br>
Acked-by: Marek Vasut <marex at denx.de>
---
Changes since v1:
- None

 common/cmd_usb_mass_storage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/cmd_usb_mass_storage.c b/common/cmd_usb_mass_storage.c
index 2c879ea..51c3fff 100644
--- a/common/cmd_usb_mass_storage.c
+++ b/common/cmd_usb_mass_storage.c
@@ -159,6 +159,6 @@ exit:
 
 U_BOOT_CMD(ums, 4, 1, do_usb_mass_storage,
 	"Use the UMS [User Mass Storage]",
-	"ums <USB_controller> [<devtype>] <devnum>  e.g. ums 0 mmc 0\n"
+	"<USB_controller> [<devtype>] <devnum>  e.g. ums 0 mmc 0\n"
 	"    devtype defaults to mmc"
 );
-- 
1.9.1



More information about the U-Boot mailing list