Commit 94966bf2 authored by oharboe's avatar oharboe
Browse files

search help text too

git-svn-id: svn:// b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent b06f254b
......@@ -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]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment