aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/tap.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb
index d171f5461..4942d0327 100644
--- a/Library/Homebrew/cmd/tap.rb
+++ b/Library/Homebrew/cmd/tap.rb
@@ -8,7 +8,9 @@ module Homebrew
migrate_taps :force => true
elsif ARGV.first == "--list-official"
require "official_taps"
- puts OFFICIAL_TAPS.map { |t| "homebrew/#{t}" } * "\n"
+ puts OFFICIAL_TAPS.map { |t| "homebrew/#{t}" }
+ elsif ARGV.first == "--list-pinned"
+ puts Tap.select(&:pinned?).map(&:name)
else
user, repo = tap_args
clone_target = ARGV.named[1]