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/options.hxx | |
parent | 577a38358b295379511ea8bb130ef1dcb7157c0f (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/options.hxx')
-rw-r--r-- | cli/options.hxx | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/cli/options.hxx b/cli/options.hxx index 96f50e6..fdf7627 100644 --- a/cli/options.hxx +++ b/cli/options.hxx @@ -190,6 +190,12 @@ class options suppress_usage () const; const bool& + long_usage () const; + + const std::size_t& + option_length () const; + + const bool& generate_cxx () const; const bool& @@ -198,12 +204,24 @@ class options const bool& generate_html () const; + const std::string& + man_prologue () const; + + const std::string& + man_epilogue () const; + + const std::string& + html_prologue () const; + + const std::string& + html_epilogue () const; + + const std::string& + class_ () const; + const bool& stdout () const; - const std::size_t& - option_length () const; - const std::string& hxx_suffix () const; @@ -214,6 +232,9 @@ class options cxx_suffix () const; const std::string& + man_suffix () const; + + const std::string& html_suffix () const; const std::string& @@ -253,14 +274,21 @@ class options std::string output_dir_; bool suppress_inline_; bool suppress_usage_; + bool long_usage_; + std::size_t option_length_; bool generate_cxx_; bool generate_man_; bool generate_html_; + std::string man_prologue_; + std::string man_epilogue_; + std::string html_prologue_; + std::string html_epilogue_; + std::string class__; bool stdout_; - std::size_t option_length_; std::string hxx_suffix_; std::string ixx_suffix_; std::string cxx_suffix_; + std::string man_suffix_; std::string html_suffix_; std::string option_prefix_; std::string option_separator_; |