diff options
Diffstat (limited to 'cli/header.cxx')
-rw-r--r-- | cli/header.cxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/cli/header.cxx b/cli/header.cxx index 7905b22..d1b078f 100644 --- a/cli/header.cxx +++ b/cli/header.cxx @@ -135,7 +135,7 @@ namespace names (c, names_option_); - // usage + // Usage. // if (usage) { @@ -146,6 +146,17 @@ namespace << endl; } + // Description. + // + if (options.generate_description ()) + { + os << "// Option description." << endl + << "//" << endl + << "static const " << cli << "::options&" << endl + << "description ();" + << endl; + } + // _parse() // os << "private:" << endl |