if (CMD_ARGC != 2)
{
- LOG_ERROR("incomplete 'oocd_trace config <target> <tty>' command");
- return ERROR_FAIL;
+ return ERROR_COMMAND_SYNTAX_ERROR;
}
target = get_current_target(CMD_CTX);
.name = "config",
.handler = handle_oocd_trace_config_command,
.mode = COMMAND_CONFIG,
- .usage = "target",
+ .usage = "<target> <tty>",
},
{
.name = "status",