Skip to content

Commit 553f22c

Browse files
committed
DOCS-7898: mongoexport fix example
1 parent 50713d9 commit 553f22c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/reference/program/mongoexport.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ Specify the:
279279

280280
.. code-block:: sh
281281

282-
mongoexport --host mongodb1.example.net --port 27017 --username someUser --authenticationDatabase admin
282+
mongoexport --host mongodb1.example.net --port 27017 --username someUser --authenticationDatabase admin --collection contacts --db marketing --out mdb1-examplenet.json
283+
283284

284285
Alternatively, you use the :option:`--uri <mongoexport --uri>` option to specify the host, port, username, authentication database, and db.
285286

0 commit comments

Comments
 (0)