mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix --test help option not in template builds
This commit is contained in:
parent
6a6a1168a5
commit
3d2ad8c316
1 changed files with 3 additions and 3 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue