TEMPFIX: cant have // in js files except for comments

This commit is contained in:
Mathias Stearn
2010-07-16 15:27:25 -04:00
parent 788f3fe472
commit b43feb002f
2 changed files with 4 additions and 2 deletions

View File

@@ -653,7 +653,9 @@ 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(\"\\tdb.isMaster() check who is primary\");\n"
"print();\n"
"print(\"\\tsee also http:/\" + \"/<host>:28017/_replSet for additional diagnostic info\");}\n"
"rs.status = function () { return db._adminCommand(\"replSetGetStatus\"); }\n"
"rs.initiate = function (c) { return db._adminCommand({ replSetInitiate: c }); }\n"
"rs.add = function (hostport) {\n"