From 236ba09423e5fb494ba82a15f362dcade5d82502 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 8 Mar 2020 17:42:55 +0100 Subject: [PATCH] godot: update the `--export` example (#3895) This also adds more information about the `-s` switch's requirements. --- pages/common/godot.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/godot.md b/pages/common/godot.md index 27563c4629..85d918cb80 100644 --- a/pages/common/godot.md +++ b/pages/common/godot.md @@ -15,10 +15,10 @@ `godot -p` -- Export a project for a given target (the target must be defined in the project): +- Export a project for a given export preset (the preset must be defined in the project): -`godot --export {{target}}` +`godot --export {{preset}} {{output_path}}` -- Execute a standalone GDScript file: +- Execute a standalone GDScript file (the script must inherit from `SceneTree` or `MainLoop`): `godot -s {{script.gd}}`