From be2ae9a6beac4d7df1e6feae8ceb4f727fdcc46f Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Tue, 9 Aug 2022 09:50:44 +0300 Subject: [PATCH 1/2] `brew search --vebose` to tell about `brew desc` --- Library/Homebrew/cmd/search.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 603735b340..fd12c1bff9 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -82,6 +82,11 @@ module Homebrew search_names(query, string_or_regex, args) end + if args.verbose? + puts + puts "Check 'brew desc' to list packages with short description." + end + print_regex_help(args) end From fded404e139d924872637f966dbb6f4e325fe108 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Tue, 9 Aug 2022 11:59:13 +0300 Subject: [PATCH 2/2] Suggestion with better wording Co-authored-by: Mike McQuaid --- Library/Homebrew/cmd/search.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index fd12c1bff9..c0a7a20f99 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -82,10 +82,7 @@ module Homebrew search_names(query, string_or_regex, args) end - if args.verbose? - puts - puts "Check 'brew desc' to list packages with short description." - end + puts "Use `brew desc` to list packages with a short description." if args.verbose? print_regex_help(args) end