From b18015a7e16087585f77862693807cb00dc30b31 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Sun, 21 Jun 2015 16:44:15 +0800 Subject: [PATCH] manpage: update list command Closes Homebrew/homebrew#40921. Signed-off-by: Xu Cheng --- Library/Homebrew/manpages/brew.1.md | 15 ++++++++------- 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 9065ba4350..4b3ef93f59 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]` []: - 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 are given, list the installed files for . - Combined with `--verbose`, recursively list the contents of all subdirectories - in each '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]` []: + List the installed files for . Combined with `--verbose`, recursively + list the contents of all subdirectories in each 's keg. If `--versions` is passed, show the version number for installed formulae, or only the specified formulae if are given. With `--multiple`, diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index f401d7b90f..b91e6dec75 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\.