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.ixx | |
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.ixx')
-rw-r--r-- | cli/options.ixx | 54 |
1 files changed, 48 insertions, 6 deletions
diff --git a/cli/options.ixx b/cli/options.ixx index 6cf5899..1745d4a 100644 --- a/cli/options.ixx +++ b/cli/options.ixx @@ -119,6 +119,18 @@ suppress_usage () const } inline const bool& options:: +long_usage () const +{ + return long_usage_; +} + +inline const std::size_t& options:: +option_length () const +{ + return option_length_; +} + +inline const bool& options:: generate_cxx () const { return generate_cxx_; @@ -136,16 +148,40 @@ generate_html () const return generate_html_; } -inline const bool& options:: -stdout () const +inline const std::string& options:: +man_prologue () const { - return stdout_; + return man_prologue_; } -inline const std::size_t& options:: -option_length () const +inline const std::string& options:: +man_epilogue () const { - return option_length_; + return man_epilogue_; +} + +inline const std::string& options:: +html_prologue () const +{ + return html_prologue_; +} + +inline const std::string& options:: +html_epilogue () const +{ + return html_epilogue_; +} + +inline const std::string& options:: +class_ () const +{ + return class__; +} + +inline const bool& options:: +stdout () const +{ + return stdout_; } inline const std::string& options:: @@ -167,6 +203,12 @@ cxx_suffix () const } inline const std::string& options:: +man_suffix () const +{ + return man_suffix_; +} + +inline const std::string& options:: html_suffix () const { return html_suffix_; |