From 0de4855bd84c44d8f84e71b250913121847d6882 Mon Sep 17 00:00:00 2001 From: hyuraku <32809703+hyuraku@users.noreply.github.com> Date: Mon, 20 Jun 2022 21:33:17 +0900 Subject: [PATCH] improve description --- Library/Homebrew/cmd/outdated.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb index e2424c6513..cea4320531 100644 --- a/Library/Homebrew/cmd/outdated.rb +++ b/Library/Homebrew/cmd/outdated.rb @@ -37,13 +37,13 @@ module Homebrew "formula is outdated. Otherwise, the repository's HEAD will only be checked for "\ "updates when a new stable or development version has been released." switch "--greedy", - description: "Print outdated casks with `auto_updates true` or `version :latest`." + description: "Print include outdated casks with `auto_updates true` or `version :latest`." switch "--greedy-latest", - description: "Print outdated casks including those with `version :latest`." + description: "Print include outdated casks including those with `version :latest`." switch "--greedy-auto-updates", - description: "Print outdated casks including those with `auto_updates true`." + description: "Print include outdated casks including those with `auto_updates true`." conflicts "--quiet", "--verbose", "--json" conflicts "--formula", "--cask" @@ -93,8 +93,6 @@ module Homebrew def print_outdated(formulae_or_casks, args:) formulae_or_casks.each do |formula_or_cask| if formula_or_cask.is_a?(Formula) - next if args.greedy? || args.greedy_latest? || args.greedy_auto_updates? - f = formula_or_cask if verbose?