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>
This commit is contained in:
David Brownell
2010-01-07 15:22:41 -08:00
parent dd8f679aa2
commit e19fe9ad09
4 changed files with 47 additions and 29 deletions

View File

@@ -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",
},