From 0e56fe29a9afeee00e02e722496678df89d37d50 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 17 Nov 2009 13:59:39 +0200 Subject: Complete the implementation of the option documentation Add the man page generator. Port CLI usage, HTML documentation and the man page to the auto-generated version. Update examples and documentation. --- cli/context.hxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'cli/context.hxx') diff --git a/cli/context.hxx b/cli/context.hxx index f6d53c3..30539af 100644 --- a/cli/context.hxx +++ b/cli/context.hxx @@ -70,7 +70,8 @@ public: enum output_type { ot_plain, - ot_html + ot_html, + ot_man }; static string @@ -96,6 +97,12 @@ public: } public: + // Return fully-qualified C++ or CLI name. + // + string + fq_name (semantics::nameable& n, bool cxx_name = true); + +public: context (std::ostream&, semantics::cli_unit&, options_type const&); context (context&); -- cgit v1.1