streamline and document helptext mode displays
commitb3bf1d12b2fdfba1c1cbee3e1afbfbb27cbd1a26
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 2 Jan 2010 23:52:35 +0000 (2 15:52 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 2 Jan 2010 23:52:35 +0000 (2 15:52 -0800)
tree41b3da25e64baedc94156b296b8626fec55844b2
parent9d167d62f2eadf81e0028e471e05154c9aabbbfb
streamline and document helptext mode displays

Most commands are usable only at runtime; so don't bother saying
that, it's noise.  Moreover, tokens like EXEC are cryptic.  Be
more clear: highlight only the commands which may (also) be used
during the config stage, thus matching the docs more closely.
There are

 - Configuration commands (per documentation)
 - And also some commands that valid at *any* time.

Update the docs to note that "help" now shows this mode info.

This also highlighted a few mistakes in command configuration,
mostly commands listed as "valid at any time" which shouldn't
have been.  This just fixes ones I noted when sanity testing.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
doc/openocd.texi
src/flash/nor/stellaris.c
src/helper/command.c
src/server/gdb_server.c
src/target/armv7m.c
src/target/cortex_m3.c
src/target/target.c
src/target/trace.c