From 93f1fb1c2f74de3ff996895761d083fadd257397 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sat, 19 Aug 2017 16:45:03 +0200 Subject: Fixes for new two-dash long command line arguments - Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping - Cleanup obsolete code here and there --- platform/uwp/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/uwp/app.cpp') diff --git a/platform/uwp/app.cpp b/platform/uwp/app.cpp index c773c0b74..8824d1c1d 100644 --- a/platform/uwp/app.cpp +++ b/platform/uwp/app.cpp @@ -512,7 +512,7 @@ void App::UpdateWindowSize(Size size) { char **App::get_command_line(unsigned int *out_argc) { - static char *fail_cl[] = { "-path", "game", NULL }; + static char *fail_cl[] = { "--path", "game", NULL }; *out_argc = 2; FILE *f = _wfopen(L"__cl__.cl", L"rb"); -- cgit v1.2.3-70-g09d2