diff options
| author | Hugo Locurcio | 2017-06-21 11:09:30 +0200 |
|---|---|---|
| committer | Hugo Locurcio | 2017-08-02 09:33:40 +0200 |
| commit | b9a799794568a13e2f8b0761e36d5af45cea458e (patch) | |
| tree | 44aefadc6d65d0355c88c88293b6c0b4236ab83b /editor/editor_node.cpp | |
| parent | daad16b7c7a10f0f1ede92899573e9e354c9d2cd (diff) | |
| download | godot-b9a799794568a13e2f8b0761e36d5af45cea458e.tar.gz godot-b9a799794568a13e2f8b0761e36d5af45cea458e.tar.zst godot-b9a799794568a13e2f8b0761e36d5af45cea458e.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 0cdb98130..4e2687449 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -2803,9 +2803,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); |
