summaryrefslogtreecommitdiff
path: root/cli/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-11-17 13:59:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-11-17 13:59:39 +0200
commit0e56fe29a9afeee00e02e722496678df89d37d50 (patch)
treeada5f6ea6978344f2e75e6194d65a1191cc6e649 /cli/context.hxx
parent577a38358b295379511ea8bb130ef1dcb7157c0f (diff)
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.hxx9
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&);