summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/db.js2
-rw-r--r--src/mongo/shell/linenoise.cpp2
-rw-r--r--src/mongo/shell/shardingtest.js2
-rw-r--r--src/mongo/shell/utils_sh.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/shell/db.js b/src/mongo/shell/db.js
index 2ff13e7aa16..f7d6963101f 100644
--- a/src/mongo/shell/db.js
+++ b/src/mongo/shell/db.js
@@ -450,7 +450,7 @@ DB.prototype._getExtraInfo = function(action) {
var res = this.getLastErrorCmd(1);
if (res) {
if (res.err != undefined && res.err != null) {
- // error occured, display it
+ // error occurred, display it
print(res.err);
return;
}
diff --git a/src/mongo/shell/linenoise.cpp b/src/mongo/shell/linenoise.cpp
index 2b77514bce2..3de42126444 100644
--- a/src/mongo/shell/linenoise.cpp
+++ b/src/mongo/shell/linenoise.cpp
@@ -65,7 +65,7 @@
* Effect: if n is 1, clear from beginning of line to cursor
* Effect: if n is 2, clear entire line
*
- * CUF (CUrsor Forward)
+ * CUF (Cursor Forward)
* Sequence: ESC [ n C
* Effect: moves cursor forward of n chars
*
diff --git a/src/mongo/shell/shardingtest.js b/src/mongo/shell/shardingtest.js
index a31d0852b9e..1c7c1e03687 100644
--- a/src/mongo/shell/shardingtest.js
+++ b/src/mongo/shell/shardingtest.js
@@ -3,7 +3,7 @@
* will be fully operational after the execution of this constructor function.
*
* @param {Object} testName Contains the key value pair for the cluster
- * configuration. Accpeted keys are:
+ * configuration. Accepted keys are:
*
* {
* name {string}: name for this test
diff --git a/src/mongo/shell/utils_sh.js b/src/mongo/shell/utils_sh.js
index 67fee540097..0aa76a7b76f 100644
--- a/src/mongo/shell/utils_sh.js
+++ b/src/mongo/shell/utils_sh.js
@@ -52,7 +52,7 @@ sh.help = function() {
}
sh.status = function( verbose , configDB ) {
- // TODO: move the actual commadn here
+ // TODO: move the actual command here
printShardingStatus( configDB , verbose );
}