diff options
| author | Hugo Locurcio | 2017-06-21 11:09:30 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-08-19 16:48:11 +0200 |
| commit | 27fc96f3c8528f0f9cc6e42d8e64934ba1b48d6d (patch) | |
| tree | da56961816c616fa0264e3d3b11218bb7f3e7230 /editor/editor_node.cpp | |
| parent | bacfe7a557838832a51add41e1d2ca7d08b886a7 (diff) | |
| download | godot-27fc96f3c8528f0f9cc6e42d8e64934ba1b48d6d.tar.gz godot-27fc96f3c8528f0f9cc6e42d8e64934ba1b48d6d.tar.zst godot-27fc96f3c8528f0f9cc6e42d8e64934ba1b48d6d.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 a5f047885..a379b6f6a 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -2823,9 +2823,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); |
