aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/deps.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb
index 7e426f91f..9e6d450f3 100644
--- a/Library/Homebrew/cmd/deps.rb
+++ b/Library/Homebrew/cmd/deps.rb
@@ -9,7 +9,11 @@ end
module Homebrew extend self
def deps
- if ARGV.include? '--all'
+ if ARGV.include? '--installed'
+ Formula.installed.each do |f|
+ puts "#{f.name}: #{f.deps*' '}"
+ end
+ elsif ARGV.include? '--all'
Formula.each do |f|
puts "#{f.name}: #{f.deps*' '}"
end