File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -411,9 +411,10 @@ slave's :data:`local.sources` collection.
411411 db.sources.update( { host : "prod.mississippi" }, { $set : { host : "prod.mississippi.example.net" } } )
412412
413413 Restart the slave with the correct command line arguments or with no
414- ``--source`` argument. After configuring :data:`local.sources` the
414+ :option:`--source <mongod --source>` option.
415+ After configuring :data:`local.sources` the
415416 first time, the :option:`--source <mongod --source>` will have no
416- subsequent affect . Therefore, both of the following invocations are
417+ subsequent effect . Therefore, both of the following invocations are
417418 correct:
418419
419420 .. code-block:: javascript
Original file line number Diff line number Diff line change 33 When updating the replica configuration object, address all members
44 of the set using the index value in the array. The array index
55 begins with ``0 ``. Do not confuse this index value with the value
6- of the :data: `_id <members[n]._id ` field in each document in the
6+ of the :data: `_id <members[n]._id> ` field in each document in the
77 :data: `members <rs.conf.members> ` array.
88
9- The :data: `_id <members[n]._id ` rarely corresponds to the array
9+ The :data: `_id <members[n]._id> ` rarely corresponds to the array
1010 index.
Original file line number Diff line number Diff line change 2323
2424 All of the following arguments are optional:
2525
26- - slaveOK
26+ - slaveOk
2727 - username
2828 - password
2929 - nonce
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ commands called :method:`db.runCommand()`. The following operation in
3535
3636Many :doc:`drivers </applications/drivers>` provide an equivalent for
3737the :method:`db.runCommand()` method. Internally, running commands
38- with :method:`db.runCommand()` is equivelent to a special query
38+ with :method:`db.runCommand()` is equivalent to a special query
3939against the :term:`$cmd` collection.
4040
4141Many common commands have their own shell helpers or wrappers in the
@@ -72,7 +72,7 @@ Failed commands return the ``ok`` field with a value of ``0``.
7272All of the following command descriptions, provide a document template
7373or prototype for each command. Some command documentation also
7474includes the relevant :program:`mongo` shell helpers. See
75- :doc:`/reference/command` for a list of all comamnds .
75+ :doc:`/reference/command` for a list of all commands .
7676
7777User Commands
7878-------------
You can’t perform that action at this time.
0 commit comments