Skip to content

Commit 9719c0a

Browse files
author
Dave
authored
Docsp 17656 buildinfo command flag (#170)
* DOCSP-17656 buildinfo command flag * Fix colons * Add hyphen
1 parent f361e5a commit 9719c0a

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

source/reference/options.txt

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,10 @@ General Options
1818

1919
.. program:: mongosh
2020

21-
.. option:: --shell
21+
.. option:: --build-info
2222

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.
2825

2926
.. option:: --eval <javascript>
3027

@@ -59,6 +56,14 @@ General Options
5956
Skips all messages during startup (such as welcome messages and startup
6057
warnings) and goes directly to the prompt.
6158

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+
6267
.. option:: --verbose
6368

6469
Increases the verbosity of the shell output during the connection

0 commit comments

Comments
 (0)