summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/startup.tcl2
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]