summaryrefslogtreecommitdiff
path: root/src/xsvf
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-08 20:16:05 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-08 20:16:05 -0800
commitb800eb0336a190ed53da90a2b7216a35bfbfdb23 (patch)
tree6518ae58ec1510458c93546756d38b08b4eed7ef /src/xsvf
parent1a2c258ed4537ca95b50e1f9e776215d82de2a86 (diff)
downloadopenocd_libswd-b800eb0336a190ed53da90a2b7216a35bfbfdb23.tar.gz
openocd_libswd-b800eb0336a190ed53da90a2b7216a35bfbfdb23.tar.bz2
openocd_libswd-b800eb0336a190ed53da90a2b7216a35bfbfdb23.tar.xz
openocd_libswd-b800eb0336a190ed53da90a2b7216a35bfbfdb23.zip
*SVF: help/usage updates
Usage messages should use the same EBNF as the User's Guide; no angle brackets. Be more complete too ... some params were missing. Don't use "&function"; its name is its address. Unrelated: fix typo in one "target.c" usage message. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/xsvf')
-rw-r--r--src/xsvf/xsvf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index b1ddea9b..539fbdc6 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -1053,13 +1053,13 @@ COMMAND_HANDLER(handle_xsvf_command)
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
};