diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-08-19 17:47:27 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-19 17:47:27 -0300 |
commit | b9dcebb37cf15f7f0c062740ad4a755d32f88ed5 (patch) | |
tree | 86b1a935105abb50ff87aaf5c17f422a745c248c /platform/iphone | |
parent | 588ffbc08aaf7d1fa30163f46702d56e032de04a (diff) |
Revert "Second 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 921ef8f607..574598e1d3 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; |