summaryrefslogtreecommitdiff
path: root/shell/db.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-04-21 21:58:00 -0400
committerEliot Horowitz <eliot@10gen.com>2010-04-21 21:58:00 -0400
commitd8b762a2ea75f1e8af00fa47a3fb1cfb797c9bb4 (patch)
tree8c5b7dc99674113ff5415e16490b457a27e0697d /shell/db.js
parentdc75bbf201ddbb2e503e4aa9033553807a19e80f (diff)
downloadmongo-d8b762a2ea75f1e8af00fa47a3fb1cfb797c9bb4.tar.gz
don't pring getLastError on help()
Diffstat (limited to 'shell/db.js')
-rw-r--r--shell/db.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/db.js b/shell/db.js
index 21c15293e39..7e4395b5a70 100644
--- a/shell/db.js
+++ b/shell/db.js
@@ -289,6 +289,8 @@ DB.prototype.help = function() {
print("\tdb.stats()");
print("\tdb.version() current version of the server");
print("\tdb.getMongo().setSlaveOk() allow queries on a replication slave server");
+
+ return __magicNoPrint;
}
DB.prototype.printCollectionStats = function(){