static const struct command_registration svf_command_handlers[] = {
{
.name = "svf",
- .handler = &handle_svf_command,
+ .handler = handle_svf_command,
.mode = COMMAND_EXEC,
.help = "Runs a SVF file.",
- .usage = "<file>",
+ .usage = "filename ['quiet']",
},
COMMAND_REGISTRATION_DONE
};
.handler = handle_virt2phys_command,
.mode = COMMAND_ANY,
.help = "translate a virtual address into a physical address",
- .usage = "virual_address",
+ .usage = "virtual_address",
},
{
.name = "reg",
static const struct command_registration xsvf_command_handlers[] = {
{
.name = "xsvf",
- .handler = &handle_xsvf_command,
+ .handler = handle_xsvf_command,
.mode = COMMAND_EXEC,
.help = "Runs a XSVF file. If 'virt2' is given, xruntest "
"counts are interpreted as TCK cycles rather than "
"as microseconds. Without the 'quiet' option, all "
"comments, retries, and mismatches will be reported.",
- .usage = "<file> [virt2] [quiet]",
+ .usage = "(tapname|'plain') filename ['virt2'] ['quiet']",
},
COMMAND_REGISTRATION_DONE
};