mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	UserspaceEmulator: Stop parsing options on first non-option
This commit is contained in:
		
							parent
							
								
									001c81b1be
								
							
						
					
					
						commit
						a32fe8df33
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -22,6 +22,7 @@ int main(int argc, char** argv, char** env) | |||
|     Vector<String> arguments; | ||||
| 
 | ||||
|     Core::ArgsParser parser; | ||||
|     parser.set_stop_on_first_non_option(true); | ||||
|     parser.add_option(g_report_to_debug, "Write reports to the debug log", "report-to-debug", 0); | ||||
|     parser.add_positional_argument(arguments, "Command to emulate", "command"); | ||||
|     parser.parse(argc, argv); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jelle Raaijmakers
						Jelle Raaijmakers