Change: --skip-installed to --missing

This commit is contained in:
Robin Ury 2023-05-17 14:53:19 -05:00
parent 9b884942d7
commit dddec94fd7
No known key found for this signature in database
GPG Key ID: E350E5E778752581
3 changed files with 6 additions and 6 deletions

View File

@ -49,8 +49,8 @@ module Homebrew
switch "--installed",
description: "List dependencies for formulae that are currently installed. If <formula> is " \
"specified, list only its dependencies that are currently installed."
switch "--skip-installed",
description: "Skip dependencies for formulae that are currently installed."
switch "--missing",
description: "Show only missing dependencies."
switch "--eval-all",
description: "Evaluate all available formulae and casks, whether installed or not, to list " \
"their dependencies."
@ -66,7 +66,7 @@ module Homebrew
description: "Treat all named arguments as casks."
conflicts "--tree", "--graph"
conflicts "--installed", "--skip-installed"
conflicts "--installed", "--missing"
conflicts "--installed", "--eval-all"
conflicts "--installed", "--all"
conflicts "--formula", "--cask"

View File

@ -27,7 +27,7 @@ module Homebrew
description: "Resolve more than one level of dependencies."
switch "--installed",
description: "Only list formulae and casks that are currently installed."
switch "--skip-installed",
switch "--missing",
description: "Only list formulae and casks that are not currently installed."
switch "--eval-all",
description: "Evaluate all available formulae and casks, whether installed or not, to show " \
@ -49,7 +49,7 @@ module Homebrew
conflicts "--formula", "--cask"
conflicts "--installed", "--all"
conflicts "--installed", "--skip-installed"
conflicts "--missing", "--installed"
named_args :formula, min: 1
end

View File

@ -30,7 +30,7 @@ module DependenciesHelpers
end
ignores << "recommended?" if args.skip_recommended?
ignores << "satisfied?" if args.skip_installed?
ignores << "satisfied?" if args.missing?
[includes, ignores]
end