diff options
| author | Misty De Meo | 2012-08-13 12:43:33 -0500 |
|---|---|---|
| committer | Misty De Meo | 2012-08-13 12:45:53 -0500 |
| commit | a3ca4f087260d0b53db59407957949830222b743 (patch) | |
| tree | 7958bd3254e22584b08b4552c520e1c54efec04f /Library | |
| parent | 88e79a9098a802209215b4826384dc85bade7f2c (diff) | |
| download | brew-a3ca4f087260d0b53db59407957949830222b743.tar.bz2 | |
options: Print "--" in option name for --compact
This was a regression which caused the bash completion script to
fail to complete formula options.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/options.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb index 530c88167..482f982cc 100644 --- a/Library/Homebrew/cmd/options.rb +++ b/Library/Homebrew/cmd/options.rb @@ -21,7 +21,7 @@ module Homebrew extend self ff.each do |f| next if f.build.empty? if ARGV.include? '--compact' - puts f.build.collect {|k,v| k} * " " + puts f.build.collect {|k,v| "--"+k} * " " else puts f.name if ff.length > 1 dump_options_for_formula f |
