How to list caveats for an installed formula (taking into account options provided on cmd line)

(Timothee Cour) #1

brew info llvm => will show caveats for default options used

I want:
brew install llvm --with-python
brew caveats llvm
=> should show caveats pertaining to the formula with options given on cmd line, eg, should also show:

If you need Python to find bindings for this keg-only formula, run:
  echo /Users/timothee/homebrew/opt/llvm_tim/lib/python2.7/site-packages >> /Users/timothee/homebrew/lib/python2.7/site-packages/llvm_tim.pth

which aren’t seen when running brew info llvm since --with-python option is non-default

(Timothee Cour) #2