]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Fixed clobbered output of the "help usb" command
authorSergei Poselenov <sposelenov@emcraft.com>
Mon, 9 Aug 2010 12:01:42 +0000 (16:01 +0400)
committerRemy Bohmer <linux@bohmer.net>
Thu, 12 Aug 2010 14:40:00 +0000 (16:40 +0200)
commit842404ea0730a7b48355794bdca6b787d4a1536a
tree86cf56312c151fff6428f7b51c3622a854c31211
parent7dc27b05a4a8682c227281d1832c4f2bc2c1dece
Fixed clobbered output of the "help usb" command

The "usb help" doesn't format the output correctly:

=> help usb
usb - USB sub-system

Usage:
usb reset - reset (rescan) USB controller
usb stop [f]  - stop USB [f]=force stop
usb tree  - show USB device tree
usb info [dev] - show available USB devices
usb storage  - show details of USB storage devices
usb dev [dev] - show or set current USB storage device
usb part [dev] - print partition table of one or all USB storage devices
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
    to memory address `addr'usb write addr blk# cnt - write `cnt'
blocks starting at block `blk#' from memory address `addr'
=>

With fix below applied, the output is correct:

=> help usb
usb - USB sub-system

Usage:
usb reset - reset (rescan) USB controller
usb stop [f]  - stop USB [f]=force stop
usb tree  - show USB device tree
usb info [dev] - show available USB devices
usb storage  - show details of USB storage devices
usb dev [dev] - show or set current USB storage device
usb part [dev] - print partition table of one or all USB storage devices
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
    to memory address `addr'
usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
    from memory address `addr'
=>

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
common/cmd_usb.c