File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,10 @@ General Options
18
18
19
19
.. program:: mongosh
20
20
21
- .. option:: --shell
21
+ .. option:: --build-info
22
22
23
- Enables the shell interface. If you invoke the :program:`mongosh`
24
- command and specify a JavaScript file as an argument, or use
25
- :option:`--eval <--eval>` to specify JavaScript on the command line,
26
- the :option:`--shell <--shell>` option provides the user with a shell
27
- prompt after the file finishes executing.
23
+ Returns a JSON-formatted document with information about the
24
+ :binary:`~bin.mongosh` build.
28
25
29
26
.. option:: --eval <javascript>
30
27
@@ -59,6 +56,14 @@ General Options
59
56
Skips all messages during startup (such as welcome messages and startup
60
57
warnings) and goes directly to the prompt.
61
58
59
+ .. option:: --shell
60
+
61
+ Enables the shell interface. If you invoke the :program:`mongosh`
62
+ command and specify a JavaScript file as an argument, or use
63
+ :option:`--eval <--eval>` to specify JavaScript on the command line,
64
+ the :option:`--shell <--shell>` option provides the user with a shell
65
+ prompt after the file finishes executing.
66
+
62
67
.. option:: --verbose
63
68
64
69
Increases the verbosity of the shell output during the connection
You can’t perform that action at this time.
0 commit comments