diff options
| author | Jack Nagel | 2014-08-10 23:17:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-10 23:17:53 -0500 |
| commit | 9a75615629479cf8fb4c5e1c0386bde8b099ac0d (patch) | |
| tree | d0b8380b83649daeff0b2f7a8139274a82ec3be4 /Library/Homebrew/formula.rb | |
| parent | 85cd9e288a09c7cb55d23640d0c75a898d487b6a (diff) | |
| download | homebrew-9a75615629479cf8fb4c5e1c0386bde8b099ac0d.tar.bz2 | |
Use public api when adding legacy options
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -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 |
