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
4545
4646 .. include:: /includes/examples/ex-eval-multi.rst
4747
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+
4856.. option:: --help, -h
4957
5058 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:
127127 script is not in the current working directory or the full specified
128128 path, the |mdb-shell| cannot access the file.
129129
130+ .. _mdb-shell-write-scripts-command-line:
131+
130132Execute a Script From the Command Line
131133~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132134
You can’t perform that action at this time.
0 commit comments