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