manpage: update list command

Closes Homebrew/homebrew#40921.

Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
Xu Cheng 2015-06-21 16:44:15 +08:00
parent 692795f82d
commit b18015a7e1
2 changed files with 13 additions and 12 deletions

View File

@ -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`,

View File

@ -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\.