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:
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user