diff mbox

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

Message ID alpine.DEB.2.02.1301260613180.21616@oneiric
State Not Applicable
Delegated to: Marek Vasut
Headers show

Commit Message

Robert P. J. Day Jan. 26, 2013, 11:25 a.m. UTC
Make USB help info for "start" subcommand consistent with other USB
subcommands.

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

---

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



rday

Comments

Robert P. J. Day Jan. 26, 2013, 12:31 p.m. UTC | #1
On Sat, 26 Jan 2013, Robert P. J. Day wrote:

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

  ACK, never mind, i just remembered that the first character string
of the long help automatically gets the command name prepended.
apologies.

rday
diff mbox

Patch

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"