diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-19 16:45:03 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-19 16:48:11 +0200 |
commit | 70b0857f6c099339214d0ec2667990e9b7c3c5ea (patch) | |
tree | 62a5e5ef873d6eaf53667bd652dccbcace5cfe03 /platform/iphone/view_controller.mm | |
parent | 27fc96f3c8528f0f9cc6e42d8e64934ba1b48d6d (diff) |
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
- Cleanup obsolete code here and there
Diffstat (limited to 'platform/iphone/view_controller.mm')
-rw-r--r-- | platform/iphone/view_controller.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/view_controller.mm b/platform/iphone/view_controller.mm index 574598e1d3..921ef8f607 100644 --- a/platform/iphone/view_controller.mm +++ b/platform/iphone/view_controller.mm @@ -42,7 +42,7 @@ int add_path(int p_argc, char **p_args) { if (!str) return p_argc; - p_args[p_argc++] = "-path"; + p_args[p_argc++] = "--path"; [str retain]; // memory leak lol (maybe make it static here and delete it in ViewController destructor? @todo p_args[p_argc++] = (char *)[str cString]; p_args[p_argc] = NULL; |