diff options
| author | Misty De Meo | 2012-08-11 13:59:57 -0500 |
|---|---|---|
| committer | Misty De Meo | 2012-08-11 14:13:40 -0500 |
| commit | 5882ae901f6ec7998d2961052bdb30f29696f987 (patch) | |
| tree | 7ee0dc93430d73936c43eefb5bac7c5355e64816 /Library/Homebrew/cmd | |
| parent | 5c79d5884a75257ace08de1d570e8cd18884b6ec (diff) | |
| download | brew-5882ae901f6ec7998d2961052bdb30f29696f987.tar.bz2 | |
options: Don't add "--" to options that have it
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/options.rb | 3 |
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 |
