aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Contributions/manpages/brew.1.md5
-rw-r--r--share/man/man1/brew.17
2 files changed, 12 insertions, 0 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index dd174085f..89d73f612 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -233,6 +233,11 @@ For the full command list, see the COMMANDS section.
If `--installed` is passed, only lists installed formulae.
+ * `which` [<formulae>]:
+ List versions of installed brews.
+
+ If <formulae> are given, only list versions for the specified brews.
+
* `--cache`:
Display Homebrew's download cache. *Default:* `~/Library/Cache/Homebrew`
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 305a63016..896e74105 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -260,6 +260,13 @@ Show the formulas that specify \fIformula\fR as a dependency\. The list is not r
If \fB\-\-installed\fR is passed, only lists installed formulae\.
.
.TP
+\fBwhich\fR [\fIformulae\fR]
+List versions of installed brews\.
+.
+.IP
+If \fIformulae\fR are given, only list versions for the specified brews\.
+.
+.TP
\fB\-\-cache\fR
Display Homebrew\'s download cache\. \fIDefault:\fR \fB~/Library/Cache/Homebrew\fR
.