Explorar o código

Merge pull request #34589 from Calinou/improve-cli-export-help

Fix and improve command-line exporting help
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
c2066fff3d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      main/main.cpp

+ 2 - 2
main/main.cpp

@@ -286,8 +286,8 @@ void Main::print_help(const char *p_binary) {
 	OS::get_singleton()->print("  -s, --script <script>            Run a script.\n");
 	OS::get_singleton()->print("  --check-only                     Only parse for errors and quit (use with --script).\n");
 #ifdef TOOLS_ENABLED
-	OS::get_singleton()->print("  --export <target>                Export the project using the given export target. Export only main pack if path ends with .pck or .zip.\n");
-	OS::get_singleton()->print("  --export-debug <target>          Like --export, but use debug template.\n");
+	OS::get_singleton()->print("  --export <target> <path>         Export the project using the given export target. Export only main pack if path ends with .pck or .zip. <path> is relative to the project directory.\n");
+	OS::get_singleton()->print("  --export-debug <target> <path>   Like --export, but use debug template.\n");
 	OS::get_singleton()->print("  --doctool <path>                 Dump the engine API reference to the given <path> in XML format, merging if existing files are found.\n");
 	OS::get_singleton()->print("  --no-docbase                     Disallow dumping the base types (used with --doctool).\n");
 	OS::get_singleton()->print("  --build-solutions                Build the scripting solutions (e.g. for C# projects).\n");