Only create named arguments
This commit is contained in:
		
							parent
							
								
									1ead455b83
								
							
						
					
					
						commit
						c8d6ee46c5
					
				
							
								
								
									
										2
									
								
								bin/brew
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								bin/brew
									
									
									
									
									
								
							@ -218,7 +218,7 @@ begin
 | 
				
			|||||||
      if ARGV.include? '--macports'
 | 
					      if ARGV.include? '--macports'
 | 
				
			||||||
        exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
 | 
					        exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
 | 
				
			||||||
      else
 | 
					      else
 | 
				
			||||||
        exec_editor *ARGV.collect {|name| make name}
 | 
					        exec_editor *ARGV.named.collect {|name| make name}
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    when 'diy', 'configure'
 | 
					    when 'diy', 'configure'
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user