Merge pull request #14902 from g0t4/cat_mention_brew_info_github

when `brew cat` fails, suggest `brew info --github`
This commit is contained in:
Mike McQuaid 2023-03-07 09:29:06 +00:00 committed by GitHub
commit 2fe078d448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,8 @@ module Homebrew
end
if Homebrew.failed?
$stderr.puts "The name may be wrong, or the tap hasn't been tapped."
$stderr.puts "The name may be wrong, or the tap hasn't been tapped. Instead try:"
$stderr.puts " brew info --github #{args.named.join(" ")}"
return
end