diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-07 15:05:26 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-07 15:05:26 -0800 |
commit | dd8f679aa2ea447a96f393db3a8938259f63eebc (patch) | |
tree | 62c1dc7ca458a331ebdc790dfc68f54049648cfb /src/target/trace.c | |
parent | 7c3aee96b2f122fd16ec20e305cb16fe89180c9b (diff) |
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/trace.c')
-rw-r--r-- | src/target/trace.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/target/trace.c b/src/target/trace.c index 56a18a4f..a8ec143e 100644 --- a/src/target/trace.c +++ b/src/target/trace.c @@ -159,18 +159,18 @@ COMMAND_HANDLER(handle_trace_history_command) static const struct command_registration trace_exec_command_handlers[] = { { .name = "history", - .handler = &handle_trace_history_command, + .handler = handle_trace_history_command, .mode = COMMAND_EXEC, - .help = "display trace history, clear history or set [size]", - .usage = "[clear|<size>]", + .help = "display trace history, clear history or set size", + .usage = "['clear'|size]", }, { .name = "point", - .handler = &handle_trace_point_command, + .handler = handle_trace_point_command, .mode = COMMAND_EXEC, .help = "display trace points, clear list of trace points, " - "or add new tracepoint at [address]", - .usage = "[clear|<address>]", + "or add new tracepoint at address", + .usage = "['clear'|address]", }, COMMAND_REGISTRATION_DONE }; |