diff options
| author | Baptiste Fontaine | 2015-08-03 20:39:00 +0200 |
|---|---|---|
| committer | Baptiste Fontaine | 2015-08-03 23:37:00 +0200 |
| commit | 3a733cad09ea45cb5f4f6fcf31afccb7f0333140 (patch) | |
| tree | e55f8395b633b29c9786feded929c3da69959bec /Library/Homebrew/cmd | |
| parent | b2c0ff398524adb133a75030e0504b1704b1db28 (diff) | |
| download | brew-3a733cad09ea45cb5f4f6fcf31afccb7f0333140.tar.bz2 | |
shell completion of official taps added to 'brew tap'
Closes Homebrew/homebrew#42421.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/tap.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index c7fb0733e..35e12a120 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -6,6 +6,9 @@ module Homebrew puts Tap.names elsif ARGV.first == "--repair" migrate_taps :force => true + elsif ARGV.first == "--list-official" + require "official_taps" + puts OFFICIAL_TAPS.map { |t| "homebrew/#{t}" } * "\n" else user, repo = tap_args clone_target = ARGV.named[1] |
