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