summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-04-01 16:56:31 -0400
committerSpencer T Brody <spencer@10gen.com>2013-04-02 11:31:49 -0400
commit64ccdfa2f6cfdc6a050e305375192ac20e8942a2 (patch)
tree442289eb5975b91d7fc1420c0c7a34e0ead1ae03
parent3bc93285244eaafe0f5f1d019a8eb74609134239 (diff)
downloadmongo-64ccdfa2f6cfdc6a050e305375192ac20e8942a2.tar.gz
SERVER-9054 Update db.help() message for addUser
-rw-r--r--src/mongo/shell/db.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/db.js b/src/mongo/shell/db.js
index e00d0a56cf2..c343f9b6615 100644
--- a/src/mongo/shell/db.js
+++ b/src/mongo/shell/db.js
@@ -435,7 +435,7 @@ DB.prototype.repairDatabase = function() {
DB.prototype.help = function() {
print("DB methods:");
- print("\tdb.addUser(username, password[, readOnly=false])");
+ print("\tdb.addUser(userDocument)");
print("\tdb.adminCommand(nameOrDocument) - switches to 'admin' db, and runs command [ just calls db.runCommand(...) ]");
print("\tdb.auth(username, password)");
print("\tdb.cloneDatabase(fromhost)");