Sfoglia il codice sorgente

Add --export-pack option to the command_line_tutorial

Nathan Lovato 4 anni fa
parent
commit
3bccbf3746
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      getting_started/editor/command_line_tutorial.rst

+ 7 - 0
getting_started/editor/command_line_tutorial.rst

@@ -137,6 +137,9 @@ Command line reference
 +----------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | ``--test <test>``                      | Run a unit test. Use ``--help`` first to display the list of tests. (:ref:`tools <doc_introduction_to_the_buildsystem_tools>` must be enabled).                                    |
 +----------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
++----------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
+| ``--export-pack <preset> <path>``      | Like ``--export``, but only export the game pack for the given preset. The <path> extension determines whether it will be in PCK or ZIP format. |
+|                                        | (:ref:`tools <doc_introduction_to_the_buildsystem_tools>` must be enabled).                                                                     |
 
 Path
 ----
@@ -274,6 +277,10 @@ will be shown.
 To export a debug version of the game, use the ``--export-debug`` switch
 instead of ``--export``. Their parameters and usage are the same.
 
+To export only a PCK file, use the ``--export-pack`` option followed by the 
+preset name and output path, with the file extension, instead of ``--export``.
+The output path extension determines the package's format, either PCK or ZIP.
+
 Running a script
 ----------------