From dddec94fd70c7d2ef55e7f1991aef6fea302f643 Mon Sep 17 00:00:00 2001 From: Robin Ury <1146921+binury@users.noreply.github.com> Date: Wed, 17 May 2023 14:53:19 -0500 Subject: [PATCH] Change: --skip-installed to --missing --- Library/Homebrew/cmd/deps.rb | 6 +++--- Library/Homebrew/cmd/uses.rb | 4 ++-- Library/Homebrew/dependencies_helpers.rb | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb index 47c1dec6d7..09736b135d 100644 --- a/Library/Homebrew/cmd/deps.rb +++ b/Library/Homebrew/cmd/deps.rb @@ -49,8 +49,8 @@ module Homebrew switch "--installed", description: "List dependencies for formulae that are currently installed. If 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" diff --git a/Library/Homebrew/cmd/uses.rb b/Library/Homebrew/cmd/uses.rb index 61ccdf64da..9e835fb28a 100644 --- a/Library/Homebrew/cmd/uses.rb +++ b/Library/Homebrew/cmd/uses.rb @@ -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 diff --git a/Library/Homebrew/dependencies_helpers.rb b/Library/Homebrew/dependencies_helpers.rb index 02965a446a..7646402026 100644 --- a/Library/Homebrew/dependencies_helpers.rb +++ b/Library/Homebrew/dependencies_helpers.rb @@ -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