From 7edbc9d4330739df14877bdd4bde2188cf2208bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 27 May 2020 14:45:25 +0200 Subject: [PATCH] Fix old style -path mention --- getting_started/editor/command_line_tutorial.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/getting_started/editor/command_line_tutorial.rst b/getting_started/editor/command_line_tutorial.rst index 5a014c762..b86b6391b 100644 --- a/getting_started/editor/command_line_tutorial.rst +++ b/getting_started/editor/command_line_tutorial.rst @@ -277,11 +277,11 @@ instead of ``--export``. Their parameters and usage are the same. Running a script ---------------- -It is possible to run a simple .gd script from the command line. This -feature is especially useful in large projects, for batch +It is possible to run a simple ``.gd`` script from the command line. +This feature is especially useful in large projects, e.g. for batch conversion of assets or custom import/export. -The script must inherit from SceneTree or MainLoop. +The script must inherit from ``SceneTree`` or ``MainLoop``. Here is a simple example of how it works: @@ -301,5 +301,5 @@ And how to run it: # Prints "Hello!" to standard output. godot -s sayhello.gd -If no project.godot exists at the path, current path is assumed to be the -current working directory (unless ``-path`` is specified). +If no ``project.godot`` exists at the path, current path is assumed to be the +current working directory (unless ``--path`` is specified).