mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:32:43 +00:00 
			
		
		
		
	Userland: Let env parse options up to first non-option
				
					
				
			This commit is contained in:
		
							parent
							
								
									d7126fbbc2
								
							
						
					
					
						commit
						001c81b1be
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -22,6 +22,8 @@ int main(int argc, char** argv) | |||
|     Vector<const char*> values; | ||||
| 
 | ||||
|     Core::ArgsParser args_parser; | ||||
|     args_parser.set_stop_on_first_non_option(true); | ||||
| 
 | ||||
|     args_parser.add_option(ignore_env, "Start with an empty environment", "ignore-environment", 'i'); | ||||
|     args_parser.add_option(split_string, "Process and split S into separate arguments; used to pass multiple arguments on shebang lines", "split-string", 'S', "S"); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jelle Raaijmakers
						Jelle Raaijmakers