aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/options.rb
AgeCommit message (Collapse)Author
2014-12-16Capitalize descriptions of --HEAD, --develKyungdahm Yun
Closes #35027. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-08-10Disconnect defined options from the build objectJack Nagel
2014-08-07Prefer interpolationJack Nagel
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2013-12-15options: show --HEAD and --devel when appropriateAdam Vandenberg
Closes #24680.
2013-06-26Clean up `brew options`Jack Nagel
2013-03-20Fix `brew options --all`Jack Nagel
Fixes #18625.
2013-01-14options: sort options consistentlyJack Nagel
2012-08-21Formula.EnumerableMax Howell
Deprecated Formula.all, replaced usage with more appropriate enumerable options. Just check out how much nicer `brew audit` runs now.
2012-08-20Simplify build options APIJack Nagel
Simplify access to the different forms of a formula's build options by making options into real objects rather than strings, and expose both the 'name' and 'flag' form.
2012-08-13options: Print "--" in option name for --compactMisty De Meo
This was a regression which caused the bash completion script to fail to complete formula options.
2012-08-11Fix normalization of old- and new-style optionsMisty De Meo
When combining the set of old-style and new-style options, make sure that the leading "--" is stripped. Fixes displaying options in `brew options`, and the exotic case of declaring options using the old syntax and then checking them with `build.include?`
2012-08-11options: Don't add "--" to options that have itMisty De Meo
2012-08-11options: fix missing leading "--" in outputJack Nagel
Closes #14124. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-09Fix info/options for new options dslAdam Vandenberg
2012-08-08Add `option` to the DSLAdam Vandenberg
Closes #9982
2012-08-04Show options for foo with `brew info foo`Max Howell
About time right?
2012-02-04Warn the user of required argumentsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-22options: treat outdated brews as installedJack Nagel
`brew options --installed` will now "do the right thing". There is getting to be a small but noticeable amount of code duplication among commands that take options like "--installed" or "--all"; it may be worth factoring this out into a method that will return a collection of formula objects based on the options that are passed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12brew-options: add --installed flagJack Nagel
`brew options --installed` will print options for formulae that are already installed. Closes #7565. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-11brew-options: actually skip formulae with no optionsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-03-19brew options: allow --allAdam Vandenberg
2011-03-12'brew options' now an official commandAdam Vandenberg