cmd/deps: drop --installed requirement for --formula/--cask

Fixes #13592.
This commit is contained in:
EricFromCanada 2022-08-31 14:18:32 -04:00
parent 0cf999eee9
commit 197f915323
No known key found for this signature in database
GPG Key ID: 179D9CDDDB814168

View File

@ -61,10 +61,8 @@ module Homebrew
"for each provided <formula>, one formula per line. This is used for " \
"debugging the `--installed`/`--all` display mode."
switch "--formula", "--formulae",
depends_on: "--installed",
description: "Treat all named arguments as formulae."
switch "--cask", "--casks",
depends_on: "--installed",
description: "Treat all named arguments as casks."
conflicts "--tree", "--graph"