From cf3806e747f333ddf75946e65ec22f84e59d8463 Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Sun, 10 Jul 2016 02:27:13 +0200 Subject: [PATCH] tap-info: expand and correct help text --- Library/Homebrew/cmd/tap-info.rb | 9 +++++++-- share/doc/homebrew/brew.1.html | 5 ++++- share/man/man1/brew.1 | 11 +++++++++-- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/cmd/tap-info.rb b/Library/Homebrew/cmd/tap-info.rb index 178c344f94..a86aa14c69 100644 --- a/Library/Homebrew/cmd/tap-info.rb +++ b/Library/Homebrew/cmd/tap-info.rb @@ -1,5 +1,10 @@ -#: * `tap-info` : -#: Display information about . +#: * `tap-info`: +#: Display a brief summary of all installed taps. +#: +#: * `tap-info` (`--installed`|): +#: Display detailed information about one or more . +#: +#: Pass `--installed` to display information on all installed taps. #: #: * `tap-info` `--json=` (`--installed`|): #: Print a JSON representation of . Currently the only accepted value diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html index 44295b3f9a..5951ade590 100644 --- a/share/doc/homebrew/brew.1.html +++ b/share/doc/homebrew/brew.1.html @@ -369,7 +369,10 @@ However, retapping with a different URL will cause an exception, so f
tap --repair

Migrate tapped formulae from symlink-based to directory-based structure.

tap --list-official

List all official taps.

tap --list-pinned

List all pinned taps.

-
tap-info tap

Display information about tap.

+
tap-info

Display a brief summary of all installed taps.

+
tap-info (--installed|taps)

Display detailed information about one or more taps.

+ +

Pass --installed to display information on all installed taps.

tap-info --json=version (--installed|taps)

Print a JSON representation of taps. Currently the only accepted value for version is v1.

diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index fbed32fa0a..d7172aad9c 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -503,8 +503,15 @@ List all official taps\. List all pinned taps\. . .TP -\fBtap\-info\fR \fItap\fR -Display information about \fItap\fR\. +\fBtap\-info\fR +Display a brief summary of all installed taps\. +. +.TP +\fBtap\-info\fR (\fB\-\-installed\fR|\fItaps\fR) +Display detailed information about one or more \fItaps\fR\. +. +.IP +Pass \fB\-\-installed\fR to display information on all installed taps\. . .TP \fBtap\-info\fR \fB\-\-json=\fR\fIversion\fR (\fB\-\-installed\fR|\fItaps\fR)