aboutsummaryrefslogtreecommitdiff
path: root/schema/embedded/database.hxx
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
commit27245519b1a659eb849a31714df0090dc58bb87a (patch)
tree2ebc0c3ec74b1695a946ca36b864729a2bb3f15b /schema/embedded/database.hxx
parent171385079d50b77fcdb219e1cbae1ab79fa000f5 (diff)
Print usage/version information to STDOUT instead of STDERR
Diffstat (limited to 'schema/embedded/database.hxx')
-rw-r--r--schema/embedded/database.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/schema/embedded/database.hxx b/schema/embedded/database.hxx
index e5c37fc..b2c81ea 100644
--- a/schema/embedded/database.hxx
+++ b/schema/embedded/database.hxx
@@ -35,19 +35,19 @@ create_database (int& argc, char* argv[])
if (argc > 1 && argv[1] == string ("--help"))
{
- cerr << "Usage: " << argv[0] << " [options]" << endl
+ cout << "Usage: " << argv[0] << " [options]" << endl
<< "Options:" << endl;
#if defined(DATABASE_MYSQL)
- odb::mysql::database::print_usage (cerr);
+ odb::mysql::database::print_usage (cout);
#elif defined(DATABASE_SQLITE)
- odb::sqlite::database::print_usage (cerr);
+ odb::sqlite::database::print_usage (cout);
#elif defined(DATABASE_PGSQL)
- odb::pgsql::database::print_usage (cerr);
+ odb::pgsql::database::print_usage (cout);
#elif defined(DATABASE_ORACLE)
- odb::oracle::database::print_usage (cerr);
+ odb::oracle::database::print_usage (cout);
#elif defined(DATABASE_MSSQL)
- odb::mssql::database::print_usage (cerr);
+ odb::mssql::database::print_usage (cout);
#endif
exit (0);