aboutsummaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorJack Nagel2011-09-08 21:06:50 -0500
committerJack Nagel2011-09-08 21:10:44 -0500
commit2183372f655d44c77fb177e254ea0e054c729330 (patch)
tree8115dff4388011a86d07b9e00e487cae1ac0c55d /share/man
parent16faf0684af102341fc9ed32e8c98b8095b9a2e9 (diff)
downloadbrew-2183372f655d44c77fb177e254ea0e054c729330.tar.bz2
Man page: clarify `list` command
Document the '--versions' option for `brew list`. The two forms of the `list` command as previously documented clearly do different things, but after documenting '--versions', their functions do overlap a bit, so we combine them and clarify the different invocations. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man1/brew.112
1 files changed, 7 insertions, 5 deletions
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 2f37e68cc..d2a72844a 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -181,12 +181,14 @@ If \fB\-\-git\fR is passed, Homebrew will create a Git repository, useful for cr
Symlink all of \fIformula\fR\'s installed files into the Homebrew prefix\. This is done automatically when you install formula, but can be useful for DIY installations\.
.
.TP
-\fBlist\fR
-List all installed formulae\.
+\fBlist [\-\-versions]\fR [\fIformulae\fR]
+Without any arguments, list all installed formulae\.
.
-.TP
-\fBlist\fR \fIformula\fR
-List the installed files for \fIformula\fR\.
+.IP
+If \fIformulae\fR are given, list the installed files for \fIformulae\fR\.
+.
+.IP
+If \fB\-\-versions\fR is passed, show the version number for installed formulae, or only the specified formulae if \fIformulae\fR are given\.
.
.TP
\fBlog [git\-log\-options]\fR \fIformula\fR \.\.\.