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

Fabio Estevam fabio.estevam at freescale.com
Wed Feb 25 17:03:19 CET 2015


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>
---
 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