Hey all,

As I was testing some commands, it appears that there is an extra bit of
output that happens when usage text is supposed to be printed.
Specifically, it has to do with the add_usage_text command:

add_usage_text <command> [...] <usage_text>]

I can't find where this is happening, so I figured I would ask.

In addition, it appears that the generic error message may be wrong for when
there is a syntax error in a command invocation.  In my case, I added an
extra argument and was told I needed more arguments.  Perhaps a new error
code should be created and a different generic error message?  Should I
return something other than ERROR_COMMAND_SYNTAX_ERROR?

-- 
// Dean Glazeski
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to