diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-21 21:01:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-21 21:01:19 +0200 |
commit | 4717d37bfa867d8cdcd4805967324978da6701b7 (patch) | |
tree | e4a11a8d27eb22f864d25acc4d55ed42a9344554 /platform/iphone | |
parent | 01d4ffd3ee8abbbfba45871ee8d83eee18d3bf97 (diff) | |
parent | 93f1fb1c2f74de3ff996895761d083fadd257397 (diff) |
Merge pull request #10471 from akien-mga/args-doubledash
Third take at making command-line arguments more UNIX-like + main.cpp and help cleanup
Diffstat (limited to 'platform/iphone')
-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; |