diff options
| author | Jack Nagel | 2014-08-10 23:17:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-10 23:17:53 -0500 |
| commit | 045a02aa74bf4924ae7d2d2108a2cb89d75a6897 (patch) | |
| tree | 44ca1bcd1944b7707f0f58be2ff5ec312af6867d | |
| parent | 161778f0f457cd766eb4edf075897d20e9c70373 (diff) | |
| download | brew-045a02aa74bf4924ae7d2d2108a2cb89d75a6897.tar.bz2 | |
Use public api when adding legacy options
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index f571b69dd..7ca927313 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -597,7 +597,7 @@ class Formula specs.each do |spec| instance.options.each do |opt, desc| - spec.options << Option.new(opt[/^--(.+)$/, 1], desc) + spec.option(opt[/^--(.+)$/, 1], desc) end end |
