|
@@ -273,7 +273,7 @@ void Main::print_help(const char *p_binary) {
|
|
OS::get_singleton()->print(" -h, --help Display this help message.\n");
|
|
OS::get_singleton()->print(" -h, --help Display this help message.\n");
|
|
OS::get_singleton()->print(" --version Display the version string.\n");
|
|
OS::get_singleton()->print(" --version Display the version string.\n");
|
|
OS::get_singleton()->print(" -v, --verbose Use verbose stdout mode.\n");
|
|
OS::get_singleton()->print(" -v, --verbose Use verbose stdout mode.\n");
|
|
- OS::get_singleton()->print(" --quiet Quiet mode, silences stdout messages. Errors are still displayed.\n");
|
|
|
|
|
|
+ OS::get_singleton()->print(" -q, --quiet Quiet mode, silences stdout messages. Errors are still displayed.\n");
|
|
OS::get_singleton()->print("\n");
|
|
OS::get_singleton()->print("\n");
|
|
|
|
|
|
OS::get_singleton()->print("Run options:\n");
|
|
OS::get_singleton()->print("Run options:\n");
|
|
@@ -282,7 +282,7 @@ void Main::print_help(const char *p_binary) {
|
|
OS::get_singleton()->print(" -p, --project-manager Start the project manager, even if a project is auto-detected.\n");
|
|
OS::get_singleton()->print(" -p, --project-manager Start the project manager, even if a project is auto-detected.\n");
|
|
OS::get_singleton()->print(" --debug-server <uri> Start the editor debug server (<protocol>://<host/IP>[:<port>], e.g. tcp://127.0.0.1:6007)\n");
|
|
OS::get_singleton()->print(" --debug-server <uri> Start the editor debug server (<protocol>://<host/IP>[:<port>], e.g. tcp://127.0.0.1:6007)\n");
|
|
#endif
|
|
#endif
|
|
- OS::get_singleton()->print(" -q, --quit Quit after the first iteration.\n");
|
|
|
|
|
|
+ OS::get_singleton()->print(" --quit Quit after the first iteration.\n");
|
|
OS::get_singleton()->print(" -l, --language <locale> Use a specific locale (<locale> being a two-letter code).\n");
|
|
OS::get_singleton()->print(" -l, --language <locale> Use a specific locale (<locale> being a two-letter code).\n");
|
|
OS::get_singleton()->print(" --path <directory> Path to a project (<directory> must contain a 'project.godot' file).\n");
|
|
OS::get_singleton()->print(" --path <directory> Path to a project (<directory> must contain a 'project.godot' file).\n");
|
|
OS::get_singleton()->print(" -u, --upwards Scan folders upwards for project.godot file.\n");
|
|
OS::get_singleton()->print(" -u, --upwards Scan folders upwards for project.godot file.\n");
|
|
@@ -642,7 +642,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
|
} else if (I->get() == "-v" || I->get() == "--verbose") { // verbose output
|
|
} else if (I->get() == "-v" || I->get() == "--verbose") { // verbose output
|
|
|
|
|
|
OS::get_singleton()->_verbose_stdout = true;
|
|
OS::get_singleton()->_verbose_stdout = true;
|
|
- } else if (I->get() == "--quiet") { // quieter output
|
|
|
|
|
|
+ } else if (I->get() == "-q" || I->get() == "--quiet") { // quieter output
|
|
|
|
|
|
quiet_stdout = true;
|
|
quiet_stdout = true;
|
|
|
|
|
|
@@ -976,7 +976,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
|
}
|
|
}
|
|
} else if (I->get() == "-u" || I->get() == "--upwards") { // scan folders upwards
|
|
} else if (I->get() == "-u" || I->get() == "--upwards") { // scan folders upwards
|
|
upwards = true;
|
|
upwards = true;
|
|
- } else if (I->get() == "-q" || I->get() == "--quit") { // Auto quit at the end of the first main loop iteration
|
|
|
|
|
|
+ } else if (I->get() == "--quit") { // Auto quit at the end of the first main loop iteration
|
|
auto_quit = true;
|
|
auto_quit = true;
|
|
} else if (I->get().ends_with("project.godot")) {
|
|
} else if (I->get().ends_with("project.godot")) {
|
|
String path;
|
|
String path;
|