Merge pull request #20305 from Homebrew/search-desc-depends-on-eval-all-not-the-other-way-around
cmd/search: `--desc` depends on `--eval-all`, not the other way around
This commit is contained in:
commit
00afc6b433
@ -36,9 +36,9 @@ module Homebrew
|
||||
description: "Search for casks."
|
||||
switch "--desc",
|
||||
description: "Search for formulae with a description matching <text> and casks with " \
|
||||
"a name or description matching <text>."
|
||||
"a name or description matching <text>.",
|
||||
depends_on: "--eval-all"
|
||||
switch "--eval-all",
|
||||
depends_on: "--desc",
|
||||
description: "Evaluate all available formulae and casks, whether installed or not, to search their " \
|
||||
"descriptions.",
|
||||
env: :eval_all
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user