aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2016-08-16 10:25:53 +0100
committerGitHub2016-08-16 10:25:53 +0100
commit87173cb7cdd4dca8f5469b67198e98f2fc4011b1 (patch)
tree8fcff21584d3c61eb63b355d380b8add9d019ed6
parent8a24d5f942c090e96e752b7bc5dd70074b50963c (diff)
parent0695edafa1a2498711635425604c416dc1873b86 (diff)
downloadbrew-87173cb7cdd4dca8f5469b67198e98f2fc4011b1.tar.bz2
Merge pull request #710 from MikeMcQuaid/list-manpage-tweaks
list: note that `ls` command is used.
-rw-r--r--Library/Homebrew/cmd/list.rb4
-rw-r--r--share/doc/homebrew/brew.1.html4
-rw-r--r--share/man/man1/brew.12
3 files changed, 7 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb
index ef7b73919..eefad0ac9 100644
--- a/Library/Homebrew/cmd/list.rb
+++ b/Library/Homebrew/cmd/list.rb
@@ -1,6 +1,8 @@
#: * `list`, `ls` [`--full-name`]:
#: List all installed formulae. If `--full-name` is passed, print formulae with
-#: full-qualified names.
+#: fully-qualified names.
+#: If `--full-name` is not passed any other options (e.g. `-t`) are passed to
+#: `ls` which produces the actual output.
#:
#: * `list`, `ls` `--unbrewed`:
#: List all files in the Homebrew prefix not installed by Homebrew.
diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html
index 5f6d4ef5f..07fa7c525 100644
--- a/share/doc/homebrew/brew.1.html
+++ b/share/doc/homebrew/brew.1.html
@@ -264,7 +264,9 @@ into <code>/Applications</code>, allowing for easier access.</p>
<p>If provided, <code>--local</code> will symlink them into the user's <code>~/Applications</code>
directory instead of the system directory.</p></dd>
<dt><code>list</code>, <code>ls</code> [<code>--full-name</code>]</dt><dd><p>List all installed formulae. If <code>--full-name</code> is passed, print formulae with
-full-qualified names.</p></dd>
+fully-qualified names.
+If <code>--full-name</code> is not passed any other options (e.g. <code>-t</code>) are passed to
+<code>ls</code> which produces the actual output.</p></dd>
<dt><code>list</code>, <code>ls</code> <code>--unbrewed</code></dt><dd><p>List all files in the Homebrew prefix not installed by Homebrew.</p></dd>
<dt><code>list</code>, <code>ls</code> [<code>--versions</code> [<code>--multiple</code>]] [<code>--pinned</code>] [<var>formulae</var>]</dt><dd><p>List the installed files for <var>formulae</var>. Combined with <code>--verbose</code>, recursively
list the contents of all subdirectories in each <var>formula</var>'s keg.</p>
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 5b32ba898..15d3a9841 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -344,7 +344,7 @@ If provided, \fB\-\-local\fR will symlink them into the user\'s \fB~/Application
.
.TP
\fBlist\fR, \fBls\fR [\fB\-\-full\-name\fR]
-List all installed formulae\. If \fB\-\-full\-name\fR is passed, print formulae with full\-qualified names\.
+List all installed formulae\. If \fB\-\-full\-name\fR is passed, print formulae with fully\-qualified names\. If \fB\-\-full\-name\fR is not passed any other options (e\.g\. \fB\-t\fR) are passed to \fBls\fR which produces the actual output\.
.
.TP
\fBlist\fR, \fBls\fR \fB\-\-unbrewed\fR