aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 873ca4c11..124ba5429 100755
--- a/bin/brew
+++ b/bin/brew
@@ -39,7 +39,9 @@ begin
end
when 'ls', 'list'
- if ARGV.named_empty?
+ if ARGV.flag? '--unbrewed'
+ puts unbrewed_files
+ elsif ARGV.named_empty?
ENV['CLICOLOR']=nil
exec 'ls', *ARGV.options<<HOMEBREW_CELLAR
elsif ARGV.verbose? or not $stdout.tty?