summaryrefslogtreecommitdiff
path: root/src/svf
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/svf
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/svf')
-rw-r--r--src/svf/svf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c
index dfdecbcd..7cb22007 100644
--- a/src/svf/svf.c
+++ b/src/svf/svf.c
@@ -1461,10 +1461,10 @@ static int svf_run_command(struct command_context *cmd_ctx, char *cmd_str)
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
};