diff options
| author | CNA-Bld | 2015-07-11 16:05:09 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-08-10 12:17:26 +0100 |
| commit | f3f8ca953fde402f39feab57b5809a28594b690a (patch) | |
| tree | f159f4f9aeb175df1f8ffe9560149e882481621a | |
| parent | 194618beb8261f035f4d0049ee80770a37cad7a6 (diff) | |
| download | brew-f3f8ca953fde402f39feab57b5809a28594b690a.tar.bz2 | |
add pin info to tap-info
| -rw-r--r-- | Library/Homebrew/cmd/tap-info.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/tap-info.rb b/Library/Homebrew/cmd/tap-info.rb index cd3f82109..4a3746367 100644 --- a/Library/Homebrew/cmd/tap-info.rb +++ b/Library/Homebrew/cmd/tap-info.rb @@ -39,6 +39,7 @@ module Homebrew puts unless i == 0 info = "#{tap}: " if tap.installed? + info += tap.pinned? ? "pinned, " : "unpinned, " formula_count = tap.formula_files.size info += "#{formula_count} formula#{plural(formula_count, "e")} " if formula_count > 0 command_count = tap.command_files.size |
