summaryrefslogtreecommitdiff
path: root/src/target/target_request.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-07 15:05:26 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-07 15:05:26 -0800
commitdd8f679aa2ea447a96f393db3a8938259f63eebc (patch)
tree62c1dc7ca458a331ebdc790dfc68f54049648cfb /src/target/target_request.c
parent7c3aee96b2f122fd16ec20e305cb16fe89180c9b (diff)
downloadopenocd+libswd-dd8f679aa2ea447a96f393db3a8938259f63eebc.tar.gz
openocd+libswd-dd8f679aa2ea447a96f393db3a8938259f63eebc.tar.bz2
openocd+libswd-dd8f679aa2ea447a96f393db3a8938259f63eebc.tar.xz
openocd+libswd-dd8f679aa2ea447a96f393db3a8938259f63eebc.zip
target misc: help/usage updates
Provide helptext which was sometimes missing; update some of it to be more accurate. Usage syntax messages have the same EBNF as the User's Guide. Don't use "&function"; functions are like arrays, their address is their name. Shrink some overlong lines; remove some empties. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/target_request.c')
-rw-r--r--src/target/target_request.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/target_request.c b/src/target/target_request.c
index d22b8a2b..ec3d48e2 100644
--- a/src/target/target_request.c
+++ b/src/target/target_request.c
@@ -303,10 +303,10 @@ COMMAND_HANDLER(handle_target_request_debugmsgs_command)
static const struct command_registration target_req_exec_command_handlers[] = {
{
.name = "debugmsgs",
- .handler = &handle_target_request_debugmsgs_command,
+ .handler = handle_target_request_debugmsgs_command,
.mode = COMMAND_EXEC,
- .help = "set reception of debug messages from target",
- .usage = "(enable|disable)",
+ .help = "display and/or modify reception of debug messages from target",
+ .usage = "['enable'|'charmsg'|'disable']",
},
COMMAND_REGISTRATION_DONE
};