diff options
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 956056244..e2b602e4a 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -108,6 +108,10 @@ class Formula active_spec.options end + def deprecated_options + active_spec.deprecated_options + end + def option_defined?(name) active_spec.option_defined?(name) end @@ -714,6 +718,10 @@ class Formula specs.each { |spec| spec.option(name, description) } end + def deprecated_option hash + specs.each { |spec| spec.deprecated_option(hash) } + end + def patch strip=:p1, src=nil, &block specs.each { |spec| spec.patch(strip, src, &block) } end |
