Browse Source

Replace old `--export` flag with `--export-release` (#9450)

* Replace old `--export` flag with `--export-release`
Deniss Fjodorovs 1 year ago
parent
commit
68327f0aa5

+ 1 - 1
tutorials/animation/creating_movies.rst

@@ -121,7 +121,7 @@ Movie Maker can also be enabled from the :ref:`command line <doc_command_line_tu
 If the output path is relative, then it is **relative to the project folder**,
 If the output path is relative, then it is **relative to the project folder**,
 not the current working directory. In the above example, the file will be
 not the current working directory. In the above example, the file will be
 written to ``/path/to/your_project/output.avi``. This behavior is similar to the
 written to ``/path/to/your_project/output.avi``. This behavior is similar to the
-``--export`` command line argument.
+``--export-release`` command line argument.
 
 
 Since Movie Maker's output resolution is set by the viewport size, you can
 Since Movie Maker's output resolution is set by the viewport size, you can
 adjust the window size on startup to override it if the project uses the
 adjust the window size on startup to override it if the project uses the

+ 4 - 4
tutorials/export/exporting_projects.rst

@@ -167,13 +167,13 @@ Exporting from the command line
 -------------------------------
 -------------------------------
 
 
 In production, it is useful to automate builds, and Godot supports this
 In production, it is useful to automate builds, and Godot supports this
-with the ``--export`` and ``--export-debug`` command line parameters.
+with the ``--export-release`` and ``--export-debug`` command line parameters.
 Exporting from the command line still requires an export preset to define
 Exporting from the command line still requires an export preset to define
 the export parameters. A basic invocation of the command would be:
 the export parameters. A basic invocation of the command would be:
 
 
 .. code-block:: shell
 .. code-block:: shell
 
 
-    godot --export "Windows Desktop" some_name.exe
+    godot --export-release "Windows Desktop" some_name.exe
 
 
 This will export to ``some_name.exe``, assuming there is a preset
 This will export to ``some_name.exe``, assuming there is a preset
 called "Windows Desktop" and the template can be found. (The export preset name
 called "Windows Desktop" and the template can be found. (The export preset name
@@ -199,13 +199,13 @@ When doing so, the export preset name must still be specified on the command lin
 
 
     godot --export-pack "Windows Desktop" some_name.pck
     godot --export-pack "Windows Desktop" some_name.pck
 
 
-It is often useful to combine the ``--export`` flag with the ``--path``
+It is often useful to combine the ``--export-release`` flag with the ``--path``
 flag, so that you do not need to ``cd`` to the project folder before running
 flag, so that you do not need to ``cd`` to the project folder before running
 the command:
 the command:
 
 
 .. code-block:: shell
 .. code-block:: shell
 
 
-    godot --path /path/to/project --export "Windows Desktop" some_name.exe
+    godot --path /path/to/project --export-release "Windows Desktop" some_name.exe
 
 
 .. seealso::
 .. seealso::