diff --git a/source/administration/master-slave.txt b/source/administration/master-slave.txt index 2c12eb8e290..d5323c9f957 100644 --- a/source/administration/master-slave.txt +++ b/source/administration/master-slave.txt @@ -411,9 +411,10 @@ slave's :data:`local.sources` collection. db.sources.update( { host : "prod.mississippi" }, { $set : { host : "prod.mississippi.example.net" } } ) Restart the slave with the correct command line arguments or with no - ``--source`` argument. After configuring :data:`local.sources` the + :option:`--source ` option. + After configuring :data:`local.sources` the first time, the :option:`--source ` will have no - subsequent affect. Therefore, both of the following invocations are + subsequent effect. Therefore, both of the following invocations are correct: .. code-block:: javascript diff --git a/source/includes/note-rs-conf-array-index.rst b/source/includes/note-rs-conf-array-index.rst index ff2ec090d58..0970466d067 100644 --- a/source/includes/note-rs-conf-array-index.rst +++ b/source/includes/note-rs-conf-array-index.rst @@ -3,8 +3,8 @@ When updating the replica configuration object, address all members of the set using the index value in the array. The array index begins with ``0``. Do not confuse this index value with the value - of the :data:`_id ` field in each document in the :data:`members ` array. - The :data:`_id ` rarely corresponds to the array index. diff --git a/source/reference/command/copydb.txt b/source/reference/command/copydb.txt index 5e0a8076c3c..6bc0c642bad 100644 --- a/source/reference/command/copydb.txt +++ b/source/reference/command/copydb.txt @@ -23,7 +23,7 @@ copydb All of the following arguments are optional: - - slaveOK + - slaveOk - username - password - nonce diff --git a/source/reference/commands.txt b/source/reference/commands.txt index d7c328799c4..1e1617f175a 100644 --- a/source/reference/commands.txt +++ b/source/reference/commands.txt @@ -35,7 +35,7 @@ commands called :method:`db.runCommand()`. The following operation in Many :doc:`drivers ` provide an equivalent for the :method:`db.runCommand()` method. Internally, running commands -with :method:`db.runCommand()` is equivelent to a special query +with :method:`db.runCommand()` is equivalent to a special query against the :term:`$cmd` collection. Many 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``. All of the following command descriptions, provide a document template or prototype for each command. Some command documentation also includes the relevant :program:`mongo` shell helpers. See -:doc:`/reference/command` for a list of all comamnds. +:doc:`/reference/command` for a list of all commands. User Commands -------------