]> git.sur5r.net Git - openocd/commit
add help regardless of callback
authorZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 17:40:28 +0000 (09:40 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 20:15:39 +0000 (12:15 -0800)
commit46d9ba4c8b675deb96ac533885500eb62b6c9909
tree754f10f869eb8ba95a4877be8610c6758d4dee9c
parenta1a3ee579ca8485f7840c7140e4a006f83b797d2
add help regardless of callback

Add help for commands regardless of whether a handler is involved.
With this, all sorts of new commands can be found in 'help' text.
Hopefully, all of them have been documented....

Sadly, the lsort function appears to handle nested lists poorly, such
that sub-commands do not group with their parents.
src/helper/command.c