On Thursday 31 December 2009, Dean Glazeski wrote: > 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.
This sounds something like what Freddie ran into: https://lists.berlios.de/pipermail/openocd-development/2009-December/013817.html https://lists.berlios.de/pipermail/openocd-development/2009-December/013860.html I think this needs to be improved before 0.4 ships; it's rather obviously broken, and people didn't have reasons to complain about such stuff previously. How much improvement ... TBD, by whoever fixes it. - Dave > 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