diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-11 17:46:17 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-11 17:46:17 +0000 |
commit | 94966bf2e3933e308f3093a3fbf403ab83331ac5 (patch) | |
tree | 73a372dd61c7d9483a447e6bfedec1140d3f1a64 /src | |
parent | b06f254b248db04c71f685c811e4371ea8ae8ff3 (diff) | |
download | openocd_libswd-94966bf2e3933e308f3093a3fbf403ab83331ac5.tar.gz openocd_libswd-94966bf2e3933e308f3093a3fbf403ab83331ac5.tar.bz2 openocd_libswd-94966bf2e3933e308f3093a3fbf403ab83331ac5.tar.xz openocd_libswd-94966bf2e3933e308f3093a3fbf403ab83331ac5.zip |
search help text too
git-svn-id: svn://svn.berlios.de/openocd/trunk@795 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/startup.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/startup.tcl b/src/startup.tcl index 06d2eb14..1b5092e0 100644 --- a/src/startup.tcl +++ b/src/startup.tcl @@ -68,7 +68,7 @@ proc tcl_help {args} { global ocd_helptext set cmd $args foreach a [lsort $ocd_helptext] { - if {[string length $cmd]==0||[string first $cmd $a]!=-1} { + if {[string length $cmd]==0||[string first $cmd $a]!=-1||[string first $cmd [lindex $a 1]]!=-1} { set w 40 set cmdname [lindex $a 0] set h [lindex $a 1] |