Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
brew: add 'cat' command
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Solovyov authored and mxcl committed Dec 22, 2009
1 parent a6ac1e5 commit c477846
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/brew
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ begin
when 'branch', 'checkout', 'pull', 'push', 'reset'
onoe "Unknown command: #{arg} (did you mean 'git #{arg}'?)"

when 'cat'
Dir.chdir HOMEBREW_REPOSITORY
exec "cat", ARGV.formulae.first.path, *ARGV.options

else
onoe "Unknown command: #{arg}"
end
Expand Down

0 comments on commit c477846

Please sign in to comment.