aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2011-06-13 10:54:04 -0700
committerAdam Vandenberg2011-06-19 22:00:02 -0700
commit440d8ea4c549a965e5c5bcd397c6370233e4e064 (patch)
tree84070803fdcfe2ca28a9e687fafd632689a5bac4
parent2b9c6def6dd0ebe6f86729301b988e9c76f79d3a (diff)
downloadbrew-440d8ea4c549a965e5c5bcd397c6370233e4e064.tar.bz2
Add `brew which` to man page
-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
.