summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tcltk-man2html.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl
index 11e54c7..d0e126c 100755
--- a/tools/tcltk-man2html.tcl
+++ b/tools/tcltk-man2html.tcl
@@ -393,7 +393,7 @@ proc long-toc {text} {
}
proc option-toc {name class switch} {
global manual
- if {[string equal $manual(section) "WIDGET-SPECIFIC OPTIONS"]} {
+ if {[string match "*OPTIONS" $manual(section)]} {
# link the defined option into the long table of contents
set link [long-toc "$switch, $name, $class"]
regsub -- "$switch, $name, $class" $link "$switch" link