mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Tweak command-line arguments to make them more UNIX-like
Also improves the command-line help text readability.
This commit is contained in:
		
							parent
							
								
									d8cd849a43
								
							
						
					
					
						commit
						1d757c43d7
					
				
					 4 changed files with 104 additions and 104 deletions
				
			
		|  | @ -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); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hugo Locurcio
						Hugo Locurcio