Re: [Openocd-development] [PATCH] fix regression causing duplicated output

2009-11-27 Thread Zach Welch
I just pushed a slightly improved version of the patch, which improves the fallback logic. It also uses the same trick for the help fallback, which was broken in the original version below. --Z On Fri, 2009-11-27 at 14:08 -0800, Zachary T Welch wrote: > The command refactoring caused subcommand

[Openocd-development] [PATCH] fix regression causing duplicated output

2009-11-27 Thread Zachary T Welch
The command refactoring caused subcommand handlers to produce duplicate output when run. The problem was introduced by failing to ensure all such invocations went through a top-level "catcher" script, prefixing the command name with the 'ocd_' prefix and consuming its results. The fix is to ensur