diff options
| author | Xu Cheng | 2015-06-21 16:44:15 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-06-22 22:17:10 +0800 |
| commit | b18015a7e16087585f77862693807cb00dc30b31 (patch) | |
| tree | 30c36bff4ca51c311a39bf7d28cbd22aa20d4604 | |
| parent | 692795f82d24a810a2190bf3fb2ff71652df2a0a (diff) | |
| download | brew-b18015a7e16087585f77862693807cb00dc30b31.tar.bz2 | |
manpage: update list command
Closes Homebrew/homebrew#40921.
Signed-off-by: Xu Cheng <xucheng@me.com>
| -rw-r--r-- | Library/Homebrew/manpages/brew.1.md | 15 | ||||
| -rw-r--r-- | share/man/man1/brew.1 | 10 |
2 files changed, 13 insertions, 12 deletions
diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index 9065ba435..4b3ef93f5 100644 --- a/Library/Homebrew/manpages/brew.1.md +++ b/Library/Homebrew/manpages/brew.1.md @@ -258,15 +258,16 @@ Note that these flags should only appear after a command. If provided, `--local` will move them into the user's `~/Applications` directory instead of the system directory. It may need to be created, first. - * `ls, list [--unbrewed] [--versions [--multiple]] [--pinned]` [<formulae>]: - Without any arguments, list all installed formulae. + * `ls, list [--full-name]` + List all installed formulae. If `--full-name` is passed, print formulae with + full-qualified names. - If <formulae> are given, list the installed files for <formulae>. - Combined with `--verbose`, recursively list the contents of all subdirectories - in each <formula>'s keg. + * `ls, list --unbrewed` + List all files in the Homebrew prefix not installed by Homebrew. - If `--unbrewed` is passed, list all files in the Homebrew prefix not installed - by Homebrew. + * `ls, list [--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. If `--versions` is passed, show the version number for installed formulae, or only the specified formulae if <formulae> are given. With `--multiple`, diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index f401d7b90..b91e6dec7 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -254,13 +254,13 @@ If no \fIformulae\fR are provided, all of them will have their \.apps symlinked\ If provided, \fB\-\-local\fR will move them into the user\'s \fB~/Applications\fR directory instead of the system directory\. It may need to be created, first\. . .IP "\(bu" 4 -\fBls, list [\-\-unbrewed] [\-\-versions [\-\-multiple]] [\-\-pinned]\fR [\fIformulae\fR]: Without any arguments, list all installed formulae\. +\fBls, list [\-\-full\-name]\fR List all installed formulae\. If \fB\-\-full\-name\fR is passed, print formulae with full\-qualified names\. . -.IP -If \fIformulae\fR are given, list the installed files for \fIformulae\fR\. Combined with \fB\-\-verbose\fR, recursively list the contents of all subdirectories in each \fIformula\fR\'s keg\. +.IP "\(bu" 4 +\fBls, list \-\-unbrewed\fR List all files in the Homebrew prefix not installed by Homebrew\. . -.IP -If \fB\-\-unbrewed\fR is passed, list all files in the Homebrew prefix not installed by Homebrew\. +.IP "\(bu" 4 +\fBls, list [\-\-versions [\-\-multiple]] [\-\-pinned]\fR [\fIformulae\fR]: List the installed files for \fIformulae\fR\. Combined with \fB\-\-verbose\fR, recursively list the contents of all subdirectories in each \fIformula\fR\'s keg\. . .IP If \fB\-\-versions\fR is passed, show the version number for installed formulae, or only the specified formulae if \fIformulae\fR are given\. With \fB\-\-multiple\fR, only show formulae with multiple versions installed\. |
