Order of arguments/options in Homebrew

Order of arguments/options in Homebrew

I came across this comment on Super User and wanted to see which was the correct order of arguments for brew

Is it
brew install --option formula or brew install forumla --option?

https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX has the options listed as brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265 and was last modified on the 1st of March 2016.

However brew(1) from man shows:

But http://wikemacs.org/wiki/Installing_Emacs_on_OS_X again shows the order as brew install emacs --with-cocoa

I guess the bigger question is does it matter what order the options are?

I recently installed emacs with brew install emacs but I actually wanted emacs with –with-cocoa.

So lets try it:

Ok cool it worked, now lets try the other way round:

Conclusion: Both ways work fine

P.S. If you are installing Emacs on Mac checkout my post about getting it working with Spotlight.

Leave a Reply

Your email address will not be published. Required fields are marked *