From 9fb112f55939a6e9496fb920be09619d226cd793 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Mon, 13 Aug 2012 12:43:33 -0500 Subject: options: Print "--" in option name for --compact This was a regression which caused the bash completion script to fail to complete formula options.--- Library/Homebrew/cmd/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd/options.rb') 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 -- cgit v1.2.3