diff --git a/source/reference/mongo.txt b/source/reference/mongo.txt index 214c9ebaa85..c980d1f38af 100644 --- a/source/reference/mongo.txt +++ b/source/reference/mongo.txt @@ -255,7 +255,7 @@ the :option:`--eval ` option, use the following form: .. code-block:: sh - mongo --eval 'db.collection.find().forEach(printJson)' + mongo --eval 'db.collection.find().forEach(printjson)' Use single quotes (e.g. ``'``) to enclose the JavaScript, as well as the additional JavaScript required to generate this output.