Skip to content

Commit

Permalink
DOCS-12989: add = to the options for mongodb command line tools (mong…
Browse files Browse the repository at this point in the history
…orestore)
  • Loading branch information
kay-kim committed Sep 30, 2019
1 parent 69e68c2 commit 1a95829
Show file tree
Hide file tree
Showing 5 changed files with 713 additions and 70 deletions.
4 changes: 2 additions & 2 deletions source/includes/options-mongorestore.yaml
Expand Up @@ -201,7 +201,7 @@ description: |
.. code-block:: sh
:copyable: false
mongorestore --db reporting dump/test/salaries.bson
mongorestore --db=reporting dump/test/salaries.bson
If you do not specify {{role}}, {{program}} takes the database name
from the data files.
Expand Down Expand Up @@ -234,7 +234,7 @@ description: |
.. code-block:: sh
:copyable: false
mongorestore --db reporting --collection employeesalaries dump/test/salaries.bson
mongorestore --db=reporting --collection employeesalaries dump/test/salaries.bson
The use of :option:`--db` and :option:`--collection` options are
deprecated when restoring from a directory or an archive file.
Expand Down
2 changes: 1 addition & 1 deletion source/includes/steps-3.2-downgrade-sharded-cluster.yaml
Expand Up @@ -130,7 +130,7 @@ content: |
.. code-block:: sh
mongorestore --db "config" --drop /path/to/dump
mongorestore --db="config" --drop /path/to/dump
#. Repeat for each member of the CSRS.
Expand Down
2 changes: 1 addition & 1 deletion source/includes/steps-4.2-downgrade-mongod.yaml
Expand Up @@ -51,6 +51,6 @@ content: |
.. code-block:: sh
mongorestore --host <myhost> --port <port> mystandalone.uncompressed.fcv4.0
mongorestore --host=<myhost> --port=<port> mystandalone.uncompressed.fcv4.0
...

0 comments on commit 1a95829

Please sign in to comment.