aboutsummaryrefslogtreecommitdiff
path: root/odb/odb.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-03-08 10:57:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-03-08 10:57:32 +0200
commitb93bf14256c44ce389617b8d00aa94d828ce5a2f (patch)
tree4b61074e1efe6822fb08006008026895928d64cf /odb/odb.cxx
parent19131a419b35e409e6b65fc47ff31f7742ff54f3 (diff)
Print usage/version information to STDOUT instead of STDERR
Diffstat (limited to 'odb/odb.cxx')
-rw-r--r--odb/odb.cxx17
1 files changed, 8 insertions, 9 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx
index 0a117ad..c0e2388 100644
--- a/odb/odb.cxx
+++ b/odb/odb.cxx
@@ -493,13 +493,13 @@ main (int argc, char* argv[])
//
if (ops.version ())
{
- e << "ODB object-relational mapping (ORM) compiler for C++ "
+ cout << "ODB object-relational mapping (ORM) compiler for C++ "
ODB_COMPILER_VERSION_STR << endl
- << "Copyright (c) 2009-2012 Code Synthesis Tools CC" << endl;
+ << "Copyright (c) 2009-2012 Code Synthesis Tools CC" << endl;
- e << "This is free software; see the source for copying conditions. "
- << "There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS "
- << "FOR A PARTICULAR PURPOSE." << endl;
+ cout << "This is free software; see the source for copying "
+ << "conditions. There is NO\nwarranty; not even for "
+ << "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." << endl;
return 0;
}
@@ -508,11 +508,10 @@ main (int argc, char* argv[])
//
if (ops.help ())
{
- e << "Usage: " << argv[0] << " [options] file [file ...]"
- << endl
- << "Options:" << endl;
+ cout << "Usage: " << argv[0] << " [options] file [file ...]" << endl
+ << "Options:" << endl;
- options::print_usage (e);
+ options::print_usage (cout);
return 0;
}