From d35ac87128a725a9061a9ada1bea54552f604822 Mon Sep 17 00:00:00 2001 From: lukelarris Date: Sat, 19 Jul 2014 20:46:52 -0500 Subject: [PATCH] Made it easier to paste command in MongoDB console It's a pain to paste MongoDB console commands with linebreaks, as the console adds its own linebreaks. I removed the linebreaks to make it easier. --- docs/configuring/databases/mongo.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/configuring/databases/mongo.rst b/docs/configuring/databases/mongo.rst index a102db01d0..7587c7be19 100644 --- a/docs/configuring/databases/mongo.rst +++ b/docs/configuring/databases/mongo.rst @@ -67,9 +67,7 @@ To add a user to access the `nodebb` database, type: .. code:: - > db.createUser( { user: "nodebb", - ... pwd: "", - ... roles: [ "readWrite" ] } ) + > db.createUser( { user: "nodebb", pwd: "", roles: [ "readWrite" ] } ) **Note:** The role ``readWrite`` provides read or write any collection within a specific database to user.