diff options
| author | Hugo Locurcio | 2017-06-21 11:09:30 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-08-21 08:08:35 +0200 |
| commit | 1d757c43d74447be8cd015b54463615c81b5050c (patch) | |
| tree | f5bf5292c663f5e1a7f40dcc8a82c587033c439c /editor/editor_node.cpp | |
| parent | d8cd849a431db4b5a5d8d61161062ca7cf101220 (diff) | |
| download | godot-1d757c43d74447be8cd015b54463615c81b5050c.tar.gz godot-1d757c43d74447be8cd015b54463615c81b5050c.tar.zst godot-1d757c43d74447be8cd015b54463615c81b5050c.zip | |
Tweak command-line arguments to make them more UNIX-like
Also improves the command-line help text readability.
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 9150e6a9b..adf6d8e06 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -2824,9 +2824,9 @@ void EditorNode::_discard_changes(const String &p_str) { String exec = OS::get_singleton()->get_executable_path(); List<String> args; - args.push_back("-path"); + args.push_back("--path"); args.push_back(exec.get_base_dir()); - args.push_back("-pm"); + args.push_back("--project-manager"); OS::ProcessID pid = 0; Error err = OS::get_singleton()->execute(exec, args, false, &pid); |
