diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index c9033ce29..381b44b3a 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -150,6 +150,12 @@ class FormulaInstaller raise "Unrecognized architecture for --bottle-arch: #{arch}" end + f.active_spec.deprecated_flags.each do |deprecated_option| + old_flag = deprecated_option.old_flag + new_flag = deprecated_option.current_flag + opoo "#{f.name}: #{old_flag} is deprecated; use #{new_flag} instead!" + end + oh1 "Installing #{Tty.green}#{f.name}#{Tty.reset}" if show_header? @@attempted << f |
