summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/gdoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/gdoc b/doc/gdoc
index 06d7dd2..78b12aa 100755
--- a/doc/gdoc
+++ b/doc/gdoc
@@ -630,7 +630,9 @@ sub output_man {
}
foreach $section (@{$args{'sectionlist'}}) {
print ".SH \"" . uc($section) . "\"\n";
- output_highlight($args{'sections'}{$section});
+ $sec = $args{'sections'}{$section};
+ $sec =~ s/-/\\-/g;
+ output_highlight($sec);
}
if ($args{'bugsto'}) {