summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-09 22:05:55 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-09 22:05:55 -0800
commitad5fd390634799ecabddc32d0ce415ef72036b4a (patch)
tree557d10784ee4ffd01fbbf8269d3fb4d3f0f28793 /src
parentff647e6bb4180a7c376b61caeb14951ba84d5717 (diff)
downloadopenocd+libswd-ad5fd390634799ecabddc32d0ce415ef72036b4a.tar.gz
openocd+libswd-ad5fd390634799ecabddc32d0ce415ef72036b4a.tar.bz2
openocd+libswd-ad5fd390634799ecabddc32d0ce415ef72036b4a.tar.xz
openocd+libswd-ad5fd390634799ecabddc32d0ce415ef72036b4a.zip
jtag/gw16012 usage/help updates
Use standard BNF. Improve/correct helptext for its "parport_port" command. Function address is just its name.
Diffstat (limited to 'src')
-rw-r--r--src/jtag/drivers/gw16012.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/jtag/drivers/gw16012.c b/src/jtag/drivers/gw16012.c
index 38e5dd72..0e9f3fe2 100644
--- a/src/jtag/drivers/gw16012.c
+++ b/src/jtag/drivers/gw16012.c
@@ -565,10 +565,12 @@ COMMAND_HANDLER(gw16012_handle_parport_port_command)
static const struct command_registration gw16012_command_handlers[] = {
{
.name = "parport_port",
- .handler = &gw16012_handle_parport_port_command,
+ .handler = gw16012_handle_parport_port_command,
.mode = COMMAND_CONFIG,
- .help = "configure the parallel port to use",
- .usage = "<port_num>",
+ .help = "Display the address of the I/O port (e.g. 0x378) "
+ "or the number of the '/dev/parport' device used. "
+ "If a parameter is provided, first change that port.",
+ .usage = "[port_number]",
},
COMMAND_REGISTRATION_DONE
};