Only create named arguments

This commit is contained in:
Max Howell 2009-10-15 16:33:12 +01:00
parent 1ead455b83
commit c8d6ee46c5

View File

@ -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'