You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execute the 'EXPR' string. See also: `lua man page <https://www.lua.org/manual/5.3/lua.html>`_.
68
+
69
+
**Example**
70
+
71
+
.. code-block:: console
72
+
73
+
% tarantool -e "print('Hello, world!')"
74
+
Hello, world!
75
+
76
+
.. option:: -lNAME
77
+
78
+
Require the 'NAME' library. See also: `lua man page <https://www.lua.org/manual/5.3/lua.html>`_.
79
+
80
+
**Example**
81
+
82
+
.. code-block:: console
83
+
84
+
% tarantool -l luatest.coverage script.lua
85
+
86
+
.. option:: -jcmd
87
+
88
+
Perform a LuaJIT control command. See also: `Command Line Options <https://luajit.org/running.html>`_.
89
+
90
+
**Example**
91
+
92
+
.. code-block:: console
93
+
94
+
% tarantool -j off app.lua
95
+
96
+
.. option:: -b...
97
+
98
+
Save or list bytecode. See also: `Command Line Options <https://luajit.org/running.html>`_.
99
+
100
+
**Example**
101
+
102
+
.. code-block:: console
103
+
104
+
% tarantool -b test.lua test.out
105
+
106
+
.. option:: -dSCRIPT
107
+
108
+
Activate a debugging session for 'SCRIPT'. See also: `luadebug.lua <https://github.com/tarantool/tarantool/blob/master/third_party/lua/README-luadebug.md>`_.
109
+
110
+
**Example**
111
+
112
+
.. code-block:: console
113
+
114
+
% tarantool -d app.lua
115
+
116
+
117
+
.. option:: -i[SCRIPT]
118
+
119
+
Enter an :ref:`interactive mode <interactive_console>` after executing 'SCRIPT'.
120
+
121
+
**Example**
122
+
123
+
.. code-block:: console
124
+
125
+
% tarantool -i
126
+
127
+
128
+
.. option:: --
129
+
130
+
Stop handling options. See also: `lua man page <https://www.lua.org/manual/5.3/lua.html>`_.
131
+
132
+
133
+
.. option:: -
134
+
135
+
Stop handling options and execute the standard input as a file. See also: `lua man page <https://www.lua.org/manual/5.3/lua.html>`_.
0 commit comments