summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authornosh <nosh@alum.mit.edu>2011-10-07 12:54:57 -0400
committernosh <nosh@alum.mit.edu>2011-10-07 12:54:57 -0400
commitf2cbb543899dc8414d365ecd458c9715ea18eaff (patch)
treeac95f414bc5fad3dd84d2884c9761cb970aa6921 /shell
parente35994823ac59fbb3e65ee236add1e45f227db87 (diff)
downloadmongo-f2cbb543899dc8414d365ecd458c9715ea18eaff.tar.gz
SERVER-4035 - fix typo in db.Help()
added 'L' to help output for "db.fsyncUnock"
Diffstat (limited to 'shell')
-rw-r--r--shell/db.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/db.js b/shell/db.js
index 1060aedff3e..c2186c67173 100644
--- a/shell/db.js
+++ b/shell/db.js
@@ -326,10 +326,10 @@ DB.prototype.help = function() {
print("\tdb.getPrevError()");
print("\tdb.getProfilingLevel() - deprecated");
print("\tdb.getProfilingStatus() - returns if profiling is on and slow threshold ");
- print("\tdb.getReplicationInfo()");
+ print("\tdb.getReplicationInfo()");
print("\tdb.getSiblingDB(name) get the db at the same server as this one");
- print("\tdb.isMaster() check replica primary status");
- print("\tdb.killOp(opid) kills the current operation in the db");
+ print("\tdb.isMaster() check replica primary status");
+ print("\tdb.killOp(opid) kills the current operation in the db");
print("\tdb.listCommands() lists all the db commands");
print("\tdb.logout()");
print("\tdb.printCollectionStats()");
@@ -348,7 +348,7 @@ DB.prototype.help = function() {
print("\tdb.version() current version of the server");
print("\tdb.getMongo().setSlaveOk() allow queries on a replication slave server");
print("\tdb.fsyncLock() flush data to disk and lock server for backups");
- print("\tdb.fsyncUnock() unlocks server following a db.fsyncLock()");
+ print("\tdb.fsyncUnlock() unlocks server following a db.fsyncLock()");
return __magicNoPrint;
}
@@ -623,9 +623,9 @@ DB.prototype.tojson = function(){
DB.prototype.toString = function(){
return this._name;
-}
-
-DB.prototype.isMaster = function () { return this.runCommand("isMaster"); }
+}
+
+DB.prototype.isMaster = function () { return this.runCommand("isMaster"); }
DB.prototype.currentOp = function( arg ){
var q = {}