diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-07-16 15:29:36 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-07-16 15:42:51 -0400 |
commit | 15db784238ae49b0fc9581bb2aeda7333590ae6c (patch) | |
tree | 813834fe6e86cedf0b130423b3d8e402a9cac515 | |
parent | c086fea7b18ab655e39d38739a92b8e20c35b10b (diff) | |
download | mongo-15db784238ae49b0fc9581bb2aeda7333590ae6c.tar.gz |
Revert "TEMPFIX: cant have // in js files except for comments"
This reverts commit b43feb002f8f79e2307d2c2358b7e2e5da1bd6cb.
-rw-r--r-- | shell/mongo_vstudio.cpp | 4 | ||||
-rw-r--r-- | shell/utils.js | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/shell/mongo_vstudio.cpp b/shell/mongo_vstudio.cpp index 7cf31c6e236..3d5b17e23b7 100644 --- a/shell/mongo_vstudio.cpp +++ b/shell/mongo_vstudio.cpp @@ -653,9 +653,7 @@ const char * jsconcatcode = "print(\"\\trs.add(hostportstr) add a new member to the set with default attributes\");\n" "print(\"\\trs.conf() return configuration from local.system.replset\");\n" "print();\n" - "print(\"\\tdb.isMaster() check who is primary\");\n" - "print();\n" - "print(\"\\tsee also http:/\" + \"/<host>:28017/_replSet for additional diagnostic info\");}\n" + "print(\"\\tdb.isMaster() check who is primary\");}\n" "rs.status = function () { return db._adminCommand(\"replSetGetStatus\"); }\n" "rs.initiate = function (c) { return db._adminCommand({ replSetInitiate: c }); }\n" "rs.add = function (hostport) {\n" diff --git a/shell/utils.js b/shell/utils.js index c66c5aca65c..67a023236d9 100644 --- a/shell/utils.js +++ b/shell/utils.js @@ -1055,7 +1055,7 @@ rs.help = function () { print();
print("\tdb.isMaster() check who is primary");
print();
- print("\tsee also http:/" + "/<host>:28017/_replSet for additional diagnostic info");
+ print("\tsee also http://<host>:28017/_replSet for additional diagnostic info");
}
rs.status = function () { return db._adminCommand("replSetGetStatus"); }
rs.initiate = function (c) { return db._adminCommand({ replSetInitiate: c }); }
|