aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2009-09-24 21:46:04 +0100
committerMax Howell2009-09-24 22:38:42 +0100
commitbab6515668a0e7fd34bea13c5dcc14c46a548562 (patch)
treecf409bb6e176de75794f09cae02663ec519b7919 /bin
parentbfb3e1bfe0e3a75a97536a8e2b178f0be4ca78a6 (diff)
downloadbrew-bab6515668a0e7fd34bea13c5dcc14c46a548562.tar.bz2
Summarised listings with brew list
I'm trying to only show the interesting stuff. You can see a full listing with brew -v list, or by piping to other commands. Tell me if you hate it or love it.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index a07077f95..fa8755f28 100755
--- a/bin/brew
+++ b/bin/brew
@@ -47,8 +47,10 @@ begin
if ARGV.named_empty?
ENV['CLICOLOR']=nil
exec 'ls', *ARGV.options<<HOMEBREW_CELLAR
- else
+ elsif ARGV.verbose?
exec "find", *ARGV.kegs+%w[-not -type d -print]
+ else
+ ARGV.kegs.each { |keg| PrettyListing.new keg }
end
when 'search', '-S'