Change: --skip-installed to --missing
This commit is contained in:
parent
9b884942d7
commit
dddec94fd7
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user