aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/options.rb
diff options
context:
space:
mode:
authorMisty De Meo2012-08-11 13:59:57 -0500
committerMisty De Meo2012-08-11 14:13:40 -0500
commit107d2d814e205ce54a12a075a11e984a116776c6 (patch)
tree802df02f2fa6195d98a9ca8e6a1ec74ad5faf970 /Library/Homebrew/cmd/options.rb
parentb435c79ce0e75d881b8403021a4f20bba7406dd7 (diff)
downloadhomebrew-107d2d814e205ce54a12a075a11e984a116776c6.tar.bz2
options: Don't add "--" to options that have it
Diffstat (limited to 'Library/Homebrew/cmd/options.rb')
-rw-r--r--Library/Homebrew/cmd/options.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb
index 530c88167..040c4a74b 100644
--- a/Library/Homebrew/cmd/options.rb
+++ b/Library/Homebrew/cmd/options.rb
@@ -32,7 +32,8 @@ module Homebrew extend self
def dump_options_for_formula f
f.build.each do |k,v|
- puts "--"+k
+ k.prepend "--" unless k.start_with? "--"
+ puts k
puts "\t"+v
end
end