summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-08-11 11:32:03 -0400
committerEliot Horowitz <eliot@10gen.com>2009-08-11 11:32:03 -0400
commitd2caa282ca768a1790380aaff3d7c1ae0600592b (patch)
tree0978ba3f44929cc5b068b0a78cbc6b8190b321ef
parent72c986acd6bfdb90a0cda3a1d2fd4b94da617a47 (diff)
downloadmongo-d2caa282ca768a1790380aaff3d7c1ae0600592b.tar.gz
cleaning 32-bit warning again MINOR
-rw-r--r--db/db.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/db/db.cpp b/db/db.cpp
index 58806cf00e1..b78345bf047 100644
--- a/db/db.cpp
+++ b/db/db.cpp
@@ -336,8 +336,10 @@ namespace mongo {
void show_32_warning(){
if ( sizeof(int*) != 4 )
return;
- log() << "** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data" << endl;
- log() << "** see http://blog.mongodb.org/post/137788967/32-bit-limitations for more" << endl;
+ cout << endl;
+ cout << "** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data" << endl;
+ cout << "** see http://blog.mongodb.org/post/137788967/32-bit-limitations for more" << endl;
+ cout << endl;
}
Timer startupSrandTimer;
@@ -426,9 +428,10 @@ namespace po = boost::program_options;
void show_help_text(po::options_description options) {
+ cout << endl;
+ cout << "To run with the default options use '" << dbExecCommand << " run'.\n";
show_32_warning();
- cout << "To run with the default options use '" << dbExecCommand << " run'." << endl << endl
- << options << endl;
+ cout << options << endl;
};
/* Return error string or "" if no errors. */