aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorHugo Locurcio2017-06-21 11:09:30 +0200
committerRémi Verschelde2017-08-21 08:08:35 +0200
commit1d757c43d74447be8cd015b54463615c81b5050c (patch)
treef5bf5292c663f5e1a7f40dcc8a82c587033c439c /editor/editor_node.cpp
parentd8cd849a431db4b5a5d8d61161062ca7cf101220 (diff)
downloadgodot-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.cpp4
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);