diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-04-21 21:58:00 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-04-21 21:58:00 -0400 |
commit | d8b762a2ea75f1e8af00fa47a3fb1cfb797c9bb4 (patch) | |
tree | 8c5b7dc99674113ff5415e16490b457a27e0697d /shell/db.js | |
parent | dc75bbf201ddbb2e503e4aa9033553807a19e80f (diff) | |
download | mongo-d8b762a2ea75f1e8af00fa47a3fb1cfb797c9bb4.tar.gz |
don't pring getLastError on help()
Diffstat (limited to 'shell/db.js')
-rw-r--r-- | shell/db.js | 2 |
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(){ |