diff options
Diffstat (limited to 'schema')
-rw-r--r-- | schema/custom/database.hxx | 12 | ||||
-rw-r--r-- | schema/embedded/database.hxx | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/schema/custom/database.hxx b/schema/custom/database.hxx index abd0aae..39febe8 100644 --- a/schema/custom/database.hxx +++ b/schema/custom/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); 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); |