]> git.sur5r.net Git - openocd/commit
improve command prohibition error report
authorZachary T Welch <zw@superlucidity.net>
Sun, 29 Nov 2009 00:29:41 +0000 (16:29 -0800)
committerZachary T Welch <zw@superlucidity.net>
Tue, 1 Dec 2009 04:54:40 +0000 (20:54 -0800)
commit330733eadf76ea87ee8714ed7958f174b1be21db
treec40405503a582cb09d4035af8bbe3e0188c351d9
parent892604bc7e6b332cf3b0bf6c2586cbd0f54ec8ef
improve command prohibition error report

Ensures that the correct information gets displayed, depending on the
mode of the command being denied.  Fixes misreporting all commands as
needing to run "before 'init'".
src/helper/command.c