diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-07 15:22:41 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-07 15:22:41 -0800 |
commit | e19fe9ad09e28df1976257052afe6edf765aa778 (patch) | |
tree | ee610ed54090ac0a874f71d84119fe9712771858 /src/target/oocd_trace.c | |
parent | dd8f679aa2ea447a96f393db3a8938259f63eebc (diff) |
ARM ETM/ETB/trace: 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;
no angle brackets in either place.
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/oocd_trace.c')
-rw-r--r-- | src/target/oocd_trace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/oocd_trace.c b/src/target/oocd_trace.c index 2533c40d..3b435719 100644 --- a/src/target/oocd_trace.c +++ b/src/target/oocd_trace.c @@ -398,13 +398,13 @@ COMMAND_HANDLER(handle_oocd_trace_resync_command) static const struct command_registration oocd_trace_all_command_handlers[] = { { .name = "config", - .handler = &handle_oocd_trace_config_command, + .handler = handle_oocd_trace_config_command, .mode = COMMAND_CONFIG, - .usage = "<target>", + .usage = "target", }, { .name = "status", - .handler = &handle_oocd_trace_status_command, + .handler = handle_oocd_trace_status_command, .mode = COMMAND_EXEC, .help = "display OpenOCD + trace status", }, |