]> git.sur5r.net Git - openocd/commit
factor help script command into parts
authorZachary T Welch <zw@superlucidity.net>
Thu, 19 Nov 2009 14:44:58 +0000 (06:44 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 20 Nov 2009 22:52:56 +0000 (14:52 -0800)
commit82449e2d60fbbb5ce8a6285b6e6d60e5767ee429
tree97d6a282614f470e4f25b2228aa13e2e4e1b90cc
parent9e9633c6b98cc9243ae78cd12ab657d041eaa73e
factor help script command into parts

Creates a helper function, cmd_help, which displays the help string
for a single command.  Presently, it is called from the loop in help.

The routine has been extended to allow indentation of command groups,
so an improved help command can improve the display of information.
src/helper/startup.tcl