summaryrefslogtreecommitdiff
path: root/examples/hello/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello/driver.cxx')
-rw-r--r--examples/hello/driver.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/hello/driver.cxx b/examples/hello/driver.cxx
index b08e6be..bb82d22 100644
--- a/examples/hello/driver.cxx
+++ b/examples/hello/driver.cxx
@@ -12,10 +12,9 @@ using namespace std;
void
usage ()
{
- cerr << "usage: driver <options> <names>" << endl
- << " [--help]" << endl
- << " [--greeting <string>]" << endl
- << " [--exclamations <integer>]" << endl;
+ cerr << "usage: driver [options] <names>" << endl
+ << "options:" << endl;
+ options::print_usage (cerr);
}
int