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
Copy file name to clipboardExpand all lines: doc/reference/configuration/index.rst
+82-22Lines changed: 82 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -28,40 +28,100 @@ Command options
28
28
29
29
.. _index-tarantool_version:
30
30
31
-
.. option:: -V, --version
31
+
.. option:: -v, -V, --version
32
32
33
-
Print product name and version, for example:
33
+
Print the product name and version.
34
+
35
+
**Example**
34
36
35
37
.. code-block:: console
36
38
37
-
$ ./tarantool --version
38
-
Tarantool 2.10.4-0-g816000e
39
-
Target: Darwin-x86_64-Release
39
+
% tarantool --version
40
+
Tarantool 2.11.1-0-g96877bd
41
+
Target: Darwin-arm64-Release
40
42
...
41
43
42
44
In this example:
43
45
44
-
“Tarantool” is the name of the reusable asynchronous networking
45
-
programming framework.
46
+
* ``2.11.1`` is a Tarantool version.
47
+
Tarantool follows semantic versioning, which is described in the :ref:`Tarantool release policy <release-policy>` section.
48
+
49
+
* ``Target`` is the platform Tarantool is built on.
50
+
Platform-specific details may follow this line.
51
+
52
+
53
+
.. option:: -eEXPR
54
+
55
+
Execute the 'EXPR' string. See also: `lua man page <https://www.lua.org/manual/5.3/lua.html>`_.
56
+
57
+
**Example**
58
+
59
+
.. code-block:: console
60
+
61
+
% tarantool -e "print('Hello, world!')"
62
+
Hello, world!
63
+
64
+
.. option:: -lNAME
65
+
66
+
Require the 'NAME' library. 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 -l luatest.coverage script.lua
73
+
74
+
.. option:: -jcmd
75
+
76
+
Perform a LuaJIT control command. See also: `Command Line Options <https://luajit.org/running.html>`_.
77
+
78
+
**Example**
79
+
80
+
.. code-block:: console
81
+
82
+
% tarantool -j off app.lua
83
+
84
+
.. option:: -b...
85
+
86
+
Save or list bytecode. See also: `Command Line Options <https://luajit.org/running.html>`_.
87
+
88
+
**Example**
89
+
90
+
.. code-block:: console
91
+
92
+
% tarantool -b test.lua test.out
93
+
94
+
.. option:: -dSCRIPT
95
+
96
+
Activate a debugging session for 'SCRIPT'. See also: `luadebug.lua <https://github.com/tarantool/tarantool/blob/master/third_party/lua/README-luadebug.md>`_.
97
+
98
+
**Example**
99
+
100
+
.. code-block:: console
101
+
102
+
% tarantool -d app.lua
103
+
104
+
105
+
.. option:: -i[SCRIPT]
106
+
107
+
Enter an :ref:`interactive mode <interactive_console>` after executing 'SCRIPT'.
108
+
109
+
**Example**
110
+
111
+
.. code-block:: console
112
+
113
+
% tarantool -i
114
+
115
+
116
+
.. option:: --
117
+
118
+
Stop handling options. See also: `lua man page <https://www.lua.org/manual/5.3/lua.html>`_.
46
119
47
-
:ref:`The 3-number version <release-policy>` follows the standard ``<major>-<minor>-<patch>``
48
-
scheme, in which ``<major>`` number is changed only rarely, ``<minor>`` is
49
-
incremented for each new milestone and indicates possible incompatible
50
-
changes, and ``<patch>`` stands for the number of bug fix releases made after
51
-
the start of the milestone. For non-released versions only, there may be a
52
-
commit number and commit SHA1 to indicate how much this particular build has
53
-
diverged from the last release.
54
120
55
-
“Target” is the platform tarantool was built on. Some platform-specific details
56
-
may follow this line.
121
+
.. option:: -
57
122
58
-
.. NOTE::
123
+
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