1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix --test help option not in template builds

This commit is contained in:
kit
2025-05-06 14:31:41 -04:00
parent 6a6a1168a5
commit 3d2ad8c316

View File

@@ -694,10 +694,10 @@ void Main::print_help(const char *p_binary) {
print_help_option("", "If incompatibilities or errors are detected, the exit code will be non-zero.\n");
print_help_option("--benchmark", "Benchmark the run time and print it to console.\n", CLI_OPTION_AVAILABILITY_EDITOR);
print_help_option("--benchmark-file <path>", "Benchmark the run time and save it to a given file in JSON format. The path should be absolute.\n", CLI_OPTION_AVAILABILITY_EDITOR);
#endif // TOOLS_ENABLED
#ifdef TESTS_ENABLED
print_help_option("--test [--help]", "Run unit tests. Use --test --help for more information.\n", CLI_OPTION_AVAILABILITY_EDITOR);
#endif
#endif
print_help_option("--test [--help]", "Run unit tests. Use --test --help for more information.\n");
#endif // TESTS_ENABLED
OS::get_singleton()->print("\n");
}