Skip to content

Commit

Permalink
Merge pull request godotengine#7335 from svelezw4games/svs/update_cli…
Browse files Browse the repository at this point in the history
…_to_4_0
  • Loading branch information
mhilbrunner authored May 13, 2023
2 parents 8ff6074 + 5478e67 commit 78746c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tutorials/editor/command_line_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ For example, the full command for exporting your game (as explained below) might

::

godot --path path_to_your_project --export my_export_preset_name game.exe
godot --path path_to_your_project --export-release my_export_preset_name game.exe

Creating a project
------------------
Expand Down Expand Up @@ -332,8 +332,8 @@ that is headless (server build, no video) is ideal for this.
# `godot` must be a Godot editor binary, not an export template.
# Also, export templates must be installed for the editor
# (or a valid custom export template must be defined in the export preset).
godot --export "Linux/X11" /var/builds/project
godot --export Android /var/builds/project.apk
godot --export-release "Linux/X11" /var/builds/project
godot --export-release Android /var/builds/project.apk

The preset name must match the name of an export preset defined in the
project's ``export_presets.cfg`` file. If the preset name contains spaces or
Expand All @@ -348,7 +348,7 @@ The output path extension determines the package's format, either PCK or ZIP.

.. warning::

When specifying a relative path as the path for `--export`, `--export-debug`
When specifying a relative path as the path for `--export-release`, `--export-debug`
or `--export-pack`, the path will be relative to the directory containing
the ``project.godot`` file, **not** relative to the current working directory.

Expand Down

0 comments on commit 78746c2

Please sign in to comment.