Skip to content
Browse files

Add `brew which` to man page

  • Loading branch information...
1 parent 0d741a3 commit 657b4b7ccebcdfc3e38a8b33a0306cba3b364453 @adamv adamv committed
Showing with 12 additions and 0 deletions.
  1. +5 −0 Library/Contributions/manpages/brew.1.md
  2. +7 −0 share/man/man1/brew.1
View
5 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`
View
7 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
.

0 comments on commit 657b4b7

Please sign in to comment.
Something went wrong with that request. Please try again.