File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,14 @@ General Options
45
45
46
46
.. include:: /includes/examples/ex-eval-multi.rst
47
47
48
+ .. option:: --file, -f <javascript>
49
+
50
+ Runs a script from the command line without entering the
51
+ |mdb-shell| console.
52
+
53
+ For additional details and an example, see
54
+ :ref:`mdb-shell-write-scripts-command-line`.
55
+
48
56
.. option:: --help, -h
49
57
50
58
Returns information on the options and use of the |mdb-shell|.
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ The following example creates and executes a script that:
127
127
script is not in the current working directory or the full specified
128
128
path, the |mdb-shell| cannot access the file.
129
129
130
+ .. _mdb-shell-write-scripts-command-line:
131
+
130
132
Execute a Script From the Command Line
131
133
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132
134
You can’t perform that action at this time.
0 commit comments