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.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/hello/driver.cxx b/examples/hello/driver.cxx
index 6641d4b..b08e6be 100644
--- a/examples/hello/driver.cxx
+++ b/examples/hello/driver.cxx
@@ -14,8 +14,8 @@ usage ()
{
cerr << "usage: driver <options> <names>" << endl
<< " [--help]" << endl
- << " [--greeting|-g <string>]" << endl
- << " [--exclamations|-e <integer>]" << endl;
+ << " [--greeting <string>]" << endl
+ << " [--exclamations <integer>]" << endl;
}
int
@@ -39,6 +39,8 @@ main (int argc, char* argv[])
return 1;
}
+ // Print the greetings.
+ //
for (int i = end; i < argc; i++)
{
cout << o.greeting () << ", " << argv[i];