0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

tool log 'connected' message to stderr

This commit is contained in:
Aaron 2009-05-18 14:45:37 -04:00
parent e57cb387c4
commit 6c0692a900

View File

@ -64,7 +64,7 @@ int mongo::Tool::main( int argc , char ** argv ){
return -1;
}
cout << "connected to: " << host << endl;
cerr << "connected to: " << host << endl;
if ( _params.count( "db" ) )
_db = _params["db"].as<string>();