diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-04-01 16:56:31 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-04-02 11:31:49 -0400 |
commit | 64ccdfa2f6cfdc6a050e305375192ac20e8942a2 (patch) | |
tree | 442289eb5975b91d7fc1420c0c7a34e0ead1ae03 | |
parent | 3bc93285244eaafe0f5f1d019a8eb74609134239 (diff) | |
download | mongo-64ccdfa2f6cfdc6a050e305375192ac20e8942a2.tar.gz |
SERVER-9054 Update db.help() message for addUser
-rw-r--r-- | src/mongo/shell/db.js | 2 |
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)"); |