diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-17 13:59:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-17 13:59:39 +0200 |
commit | 0e56fe29a9afeee00e02e722496678df89d37d50 (patch) | |
tree | ada5f6ea6978344f2e75e6194d65a1191cc6e649 /cli/context.hxx | |
parent | 577a38358b295379511ea8bb130ef1dcb7157c0f (diff) | |
download | cli-0e56fe29a9afeee00e02e722496678df89d37d50.tar.gz cli-0e56fe29a9afeee00e02e722496678df89d37d50.tar.xz cli-0e56fe29a9afeee00e02e722496678df89d37d50.zip |
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.
Diffstat (limited to 'cli/context.hxx')
-rw-r--r-- | cli/context.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
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&); |