Merge pull request #13784 from EricFromCanada/deps-drop-requirement

cmd/deps: drop `--installed` requirement for `--formula`/`--cask`
This commit is contained in:
Mike McQuaid 2022-09-01 11:04:57 +01:00 committed by GitHub
commit 48b579a23f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"