aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-10-15 16:33:12 +0100
committerMax Howell2009-10-15 16:51:59 +0100
commitc8d6ee46c5c7e85b705408841445310b667af046 (patch)
tree83b9123d7aa067f61ec2a65f591976d659898bca
parent1ead455b83d3f2bab928ed2ac4c05e3c23299048 (diff)
downloadbrew-c8d6ee46c5c7e85b705408841445310b667af046.tar.bz2
Only create named arguments
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 436c2992b..8679014dc 100755
--- a/bin/brew
+++ b/bin/brew
@@ -218,7 +218,7 @@ begin
if ARGV.include? '--macports'
exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
else
- exec_editor *ARGV.collect {|name| make name}
+ exec_editor *ARGV.named.collect {|name| make name}
end
when 'diy', 'configure'