From 0695edafa1a2498711635425604c416dc1873b86 Mon Sep 17 00:00:00 2001
From: Mike McQuaid
Date: Sun, 14 Aug 2016 10:20:18 +0100
Subject: [PATCH] list: note that `ls` command is used.
And arguments can be passed through to it.
Tweak produced out of conversation in
https://github.com/Homebrew/brew-evolution/pull/8.
---
Library/Homebrew/cmd/list.rb | 4 +++-
share/doc/homebrew/brew.1.html | 4 +++-
share/man/man1/brew.1 | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb
index ef7b739195..eefad0ac95 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 5369cfba28..3f6c04c5db 100644
--- a/share/doc/homebrew/brew.1.html
+++ b/share/doc/homebrew/brew.1.html
@@ -264,7 +264,9 @@ into /Applications, allowing for easier access.
If provided, --local will symlink them into the user's ~/Applications
directory instead of the system directory.
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 --unbrewedList all files in the Homebrew prefix not installed by Homebrew.
list, ls [--versions [--multiple]] [--pinned] [formulae]List the installed files for formulae. Combined with --verbose, recursively
list the contents of all subdirectories in each formula's keg.
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 557bf0a33e..9d7d92f6dc 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