summaryrefslogtreecommitdiff
path: root/cli/header.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/header.cxx')
-rw-r--r--cli/header.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/cli/header.cxx b/cli/header.cxx
index 9662d3e..b06c2bf 100644
--- a/cli/header.cxx
+++ b/cli/header.cxx
@@ -100,11 +100,21 @@ namespace
//
os << "// Option accessors." << endl
<< "//" << endl
- << "public:" << endl
<< endl;
names (c, names_option_);
+ // usage
+ //
+ if (usage)
+ {
+ os << "// Print usage information." << endl
+ << "//" << endl
+ << "static void" << endl
+ << "print_usage (::std::ostream&);"
+ << endl;
+ }
+
// _parse()
//
os << "private:" << endl