mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:22:46 +00:00 
			
		
		
		
	UserspaceEmulator: Improve error message for typos
This commit is contained in:
		
							parent
							
								
									792fa9f9fd
								
							
						
					
					
						commit
						9058a8367f
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -49,6 +49,10 @@ int main(int argc, char** argv, char** env) | |||
|     parser.parse(argc, argv); | ||||
| 
 | ||||
|     auto executable_path = Core::find_executable_in_path(command[0]); | ||||
|     if (executable_path.is_empty()) { | ||||
|         reportln("Cannot find executable for '{}'.", command[0]); | ||||
|         return 1; | ||||
|     } | ||||
| 
 | ||||
|     Vector<String> arguments; | ||||
|     for (auto arg : command) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ben Wiederhake
						Ben Wiederhake