More doc fixes; fixes some lintian warnings.
authorMorgan Deters <mdeters@cs.nyu.edu>
Thu, 19 Jun 2014 07:37:33 +0000 (03:37 -0400)
committerMorgan Deters <mdeters@cs.nyu.edu>
Thu, 19 Jun 2014 07:37:33 +0000 (03:37 -0400)
src/options/mkoptions

index de0986de1494a18e1fb9b44000f7f167a28033ca..f05de05716586ca1ae9b33643f866bb3693466e9 100755 (executable)
@@ -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