-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only
brew desc --search
needs --eval-all
- It was suggested in https://github.com/Homebrew/brew/issues/ 16733 that `brew desc <formula_or_cask>` should work like `brew info <formula_or_cask>` and print the description of the package without needing `--eval-all`. - Looking at the code, it seems like it's only searching that needs `--eval-all`, so limit the check to that. Before: ```shell $ brew desc hello Error: `brew desc` needs `--eval-all` passed or `HOMEBREW_EVAL_ALL` set! ``` After: ```shell $ brew desc hello hello: Program providing model for GNU coding standards and practices $ brew desc --search hello Error: Invalid usage: `brew desc --search` needs `--eval-all` passed or `HOMEBREW_EVAL_ALL` set! $ brew desc --search --eval-all hello ==> Formulae dsh: Dancer's shell, or distributed shell hello: Program providing model for GNU coding standards and practices ```
- Loading branch information
Showing
2 changed files
with
36 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters