Skip to content

Commit

Permalink
Merge pull request #14902 from g0t4/cat_mention_brew_info_github
Browse files Browse the repository at this point in the history
when `brew cat` fails, suggest `brew info --github`
  • Loading branch information
MikeMcQuaid committed Mar 7, 2023
2 parents a6b70ee + 7428242 commit 2fe078d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/dev-cmd/cat.rb
Expand Up @@ -53,7 +53,8 @@ def cat
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

Expand Down

0 comments on commit 2fe078d

Please sign in to comment.