From 27fc96f3c8528f0f9cc6e42d8e64934ba1b48d6d Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 21 Jun 2017 11:09:30 +0200 Subject: Tweak command-line arguments to make them more UNIX-like Also improves the command-line help text readability. --- editor/editor_node.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/editor_node.cpp') 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 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); -- cgit v1.2.3-70-g09d2