summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-06-19 03:37:33 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-06-19 03:37:33 -0400
commitb31dd70bd29e0dbce0a171799e648b499e54cb59 (patch)
tree866295f90e840eda0dc53e5353a35f0f01188c70 /src
parent917842682328cdf232487ef761593049118cf485 (diff)
More doc fixes; fixes some lintian warnings.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/options/mkoptions5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/options/mkoptions b/src/options/mkoptions
index de0986de1..f05de0571 100755
--- a/src/options/mkoptions
+++ b/src/options/mkoptions
@@ -1060,13 +1060,14 @@ function doc {
if [ "$category" = EXPERT ]; then
mansmtdoc="$mansmtdoc (EXPERTS only)"
fi
+ altmanopt="`echo "$altopt" | sed 's,-,\\\\\\-,g'`"
if [ "$category" = COMMON ]; then
common_manpage_internals_documentation="${common_manpage_internals_documentation}
.TP
.B \"$internal\"
$typedefault
.br
-.B \"This internal Boolean flag is undocumented; however, its alternate option$altopt which reverses the sense of the option, is documented thusly:\"
+.B \"This internal Boolean flag is undocumented; however, its alternate option$altmanopt which reverses the sense of the option, is documented thusly:\"
$mansmtdoc"
else
remaining_manpage_internals_documentation="${remaining_manpage_internals_documentation}
@@ -1074,7 +1075,7 @@ $mansmtdoc"
.B \"$internal\"
$typedefault
.br
-.B \"This internal Boolean flag is undocumented; however, its alternate option$altopt which reverses the sense of the option, is documented thusly:\"
+.B \"This internal Boolean flag is undocumented; however, its alternate option$altmanopt which reverses the sense of the option, is documented thusly:\"
$mansmtdoc"
fi
else
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback