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` If provided, `--local` will move them into the user's `~/Applications`
directory instead of the system directory. It may need to be created, first. directory instead of the system directory. It may need to be created, first.
* `ls, list [--unbrewed] [--versions [--multiple]] [--pinned]` [<formulae>]: * `ls, list [--full-name]`
Without any arguments, list all installed formulae. 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>. * `ls, list --unbrewed`
Combined with `--verbose`, recursively list the contents of all subdirectories List all files in the Homebrew prefix not installed by Homebrew.
in each <formula>'s keg.
If `--unbrewed` is passed, list all files in the Homebrew prefix not installed * `ls, list [--versions [--multiple]] [--pinned]` [<formulae>]:
by Homebrew. 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, If `--versions` is passed, show the version number for installed formulae,
or only the specified formulae if <formulae> are given. With `--multiple`, 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\. 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 .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 .IP "\(bu" 4
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\. \fBls, list \-\-unbrewed\fR List all files in the Homebrew prefix not installed by Homebrew\.
. .
.IP .IP "\(bu" 4
If \fB\-\-unbrewed\fR is passed, list all files in the Homebrew prefix not installed by Homebrew\. \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 .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\. 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\.