From 0897d2b9ece004a6f2378d4381131a7b06f33807 Mon Sep 17 00:00:00 2001 From: Siddharth Singh Date: Wed, 12 Sep 2012 13:22:34 -0300 Subject: [PATCH] Fix --output parameter in mongoexport to --out mongoexport doesn't have any --output parameter. --- source/reference/mongoexport.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/reference/mongoexport.txt b/source/reference/mongoexport.txt index a3303031ff1..77cb6d627de 100644 --- a/source/reference/mongoexport.txt +++ b/source/reference/mongoexport.txt @@ -178,7 +178,7 @@ format into a file located at ``/opt/backups/contacts.csv``. .. code-block:: sh - mongoexport --db users --collection contacts --csv --output /opt/backups/contacts.csv + mongoexport --db users --collection contacts --csv --out /opt/backups/contacts.csv The next example creates an export of the collection ``contacts`` from the MongoDB instance running on the localhost port number ``27017``, @@ -187,7 +187,7 @@ with journaling explicitly enabled. This writes the export to the .. code-block:: sh - mongoexport --db sales --collection contacts --output contacts.json --journal + mongoexport --db sales --collection contacts --out contacts.json --journal The following example exports the collection ``contacts`` from the ``sales`` database located in the MongoDB data files located at @@ -212,4 +212,4 @@ located on the host ``mongodb1.example.net`` running on port .. code-block:: sh - mongoexport --host mongodb1.example.net --port 37017 --username user --password pass --collection contacts --db marketing --output mdb1-examplenet.json + mongoexport --host mongodb1.example.net --port 37017 --username user --password pass --collection contacts --db marketing --out mdb1-examplenet.json