summaryrefslogtreecommitdiff
path: root/cli/man.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-11 04:25:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-11 04:25:00 +0200
commit471556a19e68b372155095c1b11aa568735fe867 (patch)
tree04c43a70758bf9299ac5f71f72b213c0354a1e88 /cli/man.cxx
parenta89ee85a4b94a57e996a233c9d21679d1e1217a9 (diff)
First part of TOC generation support (no links yet)
Currently only supported in the HTML output.
Diffstat (limited to 'cli/man.cxx')
-rw-r--r--cli/man.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/man.cxx b/cli/man.cxx
index 7e2757c..e55bc17 100644
--- a/cli/man.cxx
+++ b/cli/man.cxx
@@ -94,7 +94,7 @@ namespace
if (n > 1)
translate_arg (ds[0], arg_set);
- string s (format (ds.scope (), ot_man, translate (d, arg_set), true));
+ string s (format (ds.scope (), translate (d, arg_set), true));
if (s.empty ())
return;
@@ -145,7 +145,7 @@ namespace
translate_arg (
doc.size () > 0 ? doc[0] : string ("<arg>"), arg_set));
- os << ' ' << format (o.scope (), ot_man, s, false);
+ os << ' ' << format (o.scope (), s, false);
}
os << "\"" << endl;
@@ -168,7 +168,7 @@ namespace
// Format the documentation string.
//
- d = format (o.scope (), ot_man, translate (d, arg_set), false);
+ d = format (o.scope (), translate (d, arg_set), false);
wrap_lines (os, d);
os << endl;