Fix 'adapter usb location' documentation
Change-Id: Ifd1d21f2a3cc25ee25e3c7dd04dbb8190d41a1ea Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/5156 Tested-by: jenkins Reviewed-by: Oleksij Rempel <linux@rempel-privat.de> Reviewed-by: Tomas Vanek <vanekt@fbl.cz>bscan_optimization
parent
04ebb43f93
commit
e162200ab2
|
@ -2370,8 +2370,8 @@ Returns the name of the debug adapter driver being used.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@anchor{adapter_usb_location}
|
@anchor{adapter_usb_location}
|
||||||
@deffn Command {adapter usb location} <bus>-<port>[.<port>]...
|
@deffn Command {adapter usb location} [<bus>-<port>[.<port>]...]
|
||||||
Specifies the physical USB port of the adapter to use. The path
|
Displays or specifies the physical USB port of the adapter to use. The path
|
||||||
roots at @var{bus} and walks down the physical ports, with each
|
roots at @var{bus} and walks down the physical ports, with each
|
||||||
@var{port} option specifying a deeper level in the bus topology, the last
|
@var{port} option specifying a deeper level in the bus topology, the last
|
||||||
@var{port} denoting where the target adapter is actually plugged.
|
@var{port} denoting where the target adapter is actually plugged.
|
||||||
|
|
|
@ -476,8 +476,8 @@ static const struct command_registration adapter_usb_command_handlers[] = {
|
||||||
.name = "location",
|
.name = "location",
|
||||||
.handler = &handle_usb_location_command,
|
.handler = &handle_usb_location_command,
|
||||||
.mode = COMMAND_CONFIG,
|
.mode = COMMAND_CONFIG,
|
||||||
.help = "set the USB bus location of the USB device",
|
.help = "display or set the USB bus location of the USB device",
|
||||||
.usage = "<bus>-port[.port]...",
|
.usage = "[<bus>-port[.port]...]",
|
||||||
},
|
},
|
||||||
#endif /* HAVE_LIBUSB_GET_PORT_NUMBERS */
|
#endif /* HAVE_LIBUSB_GET_PORT_NUMBERS */
|
||||||
COMMAND_REGISTRATION_DONE
|
COMMAND_REGISTRATION_DONE
|
||||||
|
|
Loading…
Reference in New Issue