jtag/gw16012 usage/help updates
Use standard BNF. Improve/correct helptext for its "parport_port" command. Function address is just its name.
This commit is contained in:
parent
ff647e6bb4
commit
ad5fd39063
|
@ -565,10 +565,12 @@ COMMAND_HANDLER(gw16012_handle_parport_port_command)
|
||||||
static const struct command_registration gw16012_command_handlers[] = {
|
static const struct command_registration gw16012_command_handlers[] = {
|
||||||
{
|
{
|
||||||
.name = "parport_port",
|
.name = "parport_port",
|
||||||
.handler = &gw16012_handle_parport_port_command,
|
.handler = gw16012_handle_parport_port_command,
|
||||||
.mode = COMMAND_CONFIG,
|
.mode = COMMAND_CONFIG,
|
||||||
.help = "configure the parallel port to use",
|
.help = "Display the address of the I/O port (e.g. 0x378) "
|
||||||
.usage = "<port_num>",
|
"or the number of the '/dev/parport' device used. "
|
||||||
|
"If a parameter is provided, first change that port.",
|
||||||
|
.usage = "[port_number]",
|
||||||
},
|
},
|
||||||
COMMAND_REGISTRATION_DONE
|
COMMAND_REGISTRATION_DONE
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue