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/options.hxx | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to 'cli/options.hxx') 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_; -- cgit v1.1