Skip to content

Commit 2b7c806

Browse files
author
Ed Costello
committed
Typo and rst formatting fixes
1 parent 03af6ef commit 2b7c806

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

source/administration/master-slave.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

source/includes/note-rs-conf-array-index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
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.

source/reference/command/copydb.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ copydb
2323

2424
All of the following arguments are optional:
2525

26-
- slaveOK
26+
- slaveOk
2727
- username
2828
- password
2929
- nonce

source/reference/commands.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ commands called :method:`db.runCommand()`. The following operation in
3535

3636
Many :doc:`drivers </applications/drivers>` provide an equivalent for
3737
the :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
3939
against the :term:`$cmd` collection.
4040

4141
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``.
7272
All of the following command descriptions, provide a document template
7373
or prototype for each command. Some command documentation also
7474
includes 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

7777
User Commands
7878
-------------

0 commit comments

Comments
 (0)