summaryrefslogtreecommitdiff
path: root/cli/cli.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cli.cxx')
-rw-r--r--cli/cli.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/cli/cli.cxx b/cli/cli.cxx
index a8e7fae..761b9a9 100644
--- a/cli/cli.cxx
+++ b/cli/cli.cxx
@@ -9,7 +9,6 @@
#include <cutl/compiler/code-stream.hxx>
-#include "usage.hxx"
#include "options.hxx"
#include "parser.hxx"
#include "generator.hxx"
@@ -48,17 +47,7 @@ int main (int argc, char* argv[])
<< endl
<< "Options:" << endl;
- compiler::ostream_filter<usage_indenter, char> filt (e);
-
- e << "--help" << endl
- << " Print usage information and exit."
- << endl;
-
- e << "--version" << endl
- << " Print version and exit."
- << endl;
-
- generator::usage ();
+ options::print_usage (e);
return 0;
}