[U-Boot] [PATCH] cmd_usb.c: Make usb help info consistent for "start".

Robert P. J. Day rpjday at crashcourse.ca
Sat Jan 26 12:25:24 CET 2013


Make USB help info for "start" subcommand consistent with other USB
subcommands.

Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

  unless there's something different about the "start" subcommand,
this would seem to make sense for consistency.

diff --git a/common/cmd_usb.c b/common/cmd_usb.c
index dacdc2d..f04ee73 100644
--- a/common/cmd_usb.c
+++ b/common/cmd_usb.c
@@ -575,7 +575,7 @@ static int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 U_BOOT_CMD(
 	usb,	5,	1,	do_usb,
 	"USB sub-system",
-	"start - start (scan) USB controller\n"
+	"usb start - start (scan) USB controller\n"
 	"usb reset - reset (rescan) USB controller\n"
 	"usb stop [f] - stop USB [f]=force stop\n"
 	"usb tree - show USB device tree\n"
@@ -601,7 +601,7 @@ U_BOOT_CMD(
 U_BOOT_CMD(
 	usb,	5,	1,	do_usb,
 	"USB sub-system",
-	"start - start (scan) USB controller\n"
+	"usb start - start (scan) USB controller\n"
 	"usb reset - reset (rescan) USB controller\n"
 	"usb tree - show USB device tree\n"
 	"usb info [dev] - show available USB devices"


rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the U-Boot mailing list