@@ -20,30 +20,15 @@ General Options
2020
2121.. program:: mongosh
2222
23- .. option:: --eval <javascript>
24-
25- Evaluates a JavaScript expression that is specified as an argument.
26- The |mdb-shell| does not load its own environment when evaluating
27- code. As a result, many options of the shell environment are not
28- available when using this option.
29-
3023.. option:: --help, -h
3124
3225 Returns information on the options and use of the |mdb-shell|.
3326
34- .. option:: --norc
35-
36- Prevents the shell from sourcing and evaluating
37- :file:`~/.mongorc.js` on start up.
38-
39- .. option:: --shell
40-
41- Enables the shell interface. If you invoke the ``mongosh``
42- command and specify a JavaScript file as an argument, or use
43- :option:`--eval <--eval>` to specify JavaScript on the command line,
44- the :option:`--shell <--shell>` option provides the user with a shell
45- prompt after the file finishes executing.
27+ .. option:: --nodb
4628
29+ Don't connect to |mongod| instance on startup. No ``db address`` arguments
30+ expected.
31+
4732.. option:: --version
4833
4934 Returns the |mdb-shell| release number.
@@ -92,21 +77,6 @@ Connection Options
9277
9378 mongodb+srv://server.example.com/?connectionTimeout=3000ms
9479
95- .. option:: --ipv6
96-
97- Enables IPv6 support. the |mdb-shell| disables IPv6 by default.
98-
99- To connect to a MongoDB cluster via IPv6, you must specify
100- both :option:`--ipv6 <--ipv6>` *and*
101- :option:`--host (mongod/mongos IPv6 address) <--host>`
102- when starting the |mdb-shell|.
103-
104- :binary:`~bin.mongod` and :binary:`~bin.mongos` disable IPv6 support
105- by default. Specifying :option:`--ipv6 <--ipv6>` when connecting to a
106- ``mongod/mongos`` does not enable IPv6 support on the
107- ``mongod/mongos``. For documentation on enabling IPv6 support on the
108- ``mongod/mongos``, see :setting:`net.ipv6`.
109-
11080.. option:: --port <port>
11181
11282 Specifies the port where the :binary:`~bin.mongod` or
0 commit comments