Document behavior of deps and uses when given multiple arguments

This commit is contained in:
Jack Nagel 2014-04-07 13:16:08 -05:00
parent 872f46dc1e
commit f243163b89
2 changed files with 12 additions and 8 deletions

View File

@ -84,8 +84,10 @@ Note that these flags should only appear after a command.
The options `--set-name` and `--set-version` each take an argument and allow The options `--set-name` and `--set-version` each take an argument and allow
you to explicitly set the name and version of the package you are creating. you to explicitly set the name and version of the package you are creating.
* `deps [--1] [-n] [--tree] [--all] [--installed]` <formula>: * `deps [--1] [-n] [--tree] [--all] [--installed]` <formulae>:
Show <formula>'s dependencies. Show dependencies for <formulae>. When given multiple formula arguments,
show the intersection of dependencies for <formulae>, except when passed
`--tree`, `--all`, or `--installed`.
If `--1` is passed, only show dependencies one level down, instead of If `--1` is passed, only show dependencies one level down, instead of
recursing. recursing.
@ -355,8 +357,10 @@ Note that these flags should only appear after a command.
If <formulae> are given, upgrade only the specified brews (but do so even If <formulae> are given, upgrade only the specified brews (but do so even
if they are pinned; see `pin`, `unpin`). if they are pinned; see `pin`, `unpin`).
* `uses [--installed] [--recursive] [--devel|--HEAD]` <formula>: * `uses [--installed] [--recursive] [--devel|--HEAD]` <formulae>:
Show the formulae that specify <formula> as a dependency. Show the formulae that specify <formulae> as a dependency. When given
multiple formula arguments, show the intersection of formulae that use
<formulae>.
Use `--recursive` to resolve more than one level of dependencies. Use `--recursive` to resolve more than one level of dependencies.

View File

@ -91,8 +91,8 @@ If \fB\-\-no\-fetch\fR is passed, Homebrew will not download \fIURL\fR to the ca
The options \fB\-\-set\-name\fR and \fB\-\-set\-version\fR each take an argument and allow you to explicitly set the name and version of the package you are creating\. The options \fB\-\-set\-name\fR and \fB\-\-set\-version\fR each take an argument and allow you to explicitly set the name and version of the package you are creating\.
. .
.TP .TP
\fBdeps [\-\-1] [\-n] [\-\-tree] [\-\-all] [\-\-installed]\fR \fIformula\fR \fBdeps [\-\-1] [\-n] [\-\-tree] [\-\-all] [\-\-installed]\fR \fIformulae\fR
Show \fIformula\fR\'s dependencies\. Show dependencies for \fIformulae\fR\. When given multiple formula arguments, show the intersection of dependencies for \fIformulae\fR, except when passed \fB\-\-tree\fR, \fB\-\-all\fR, or \fB\-\-installed\fR\.
. .
.IP .IP
If \fB\-\-1\fR is passed, only show dependencies one level down, instead of recursing\. If \fB\-\-1\fR is passed, only show dependencies one level down, instead of recursing\.
@ -381,8 +381,8 @@ Options for the \fBinstall\fR command are also valid here\.
If \fIformulae\fR are given, upgrade only the specified brews (but do so even if they are pinned; see \fBpin\fR, \fBunpin\fR)\. If \fIformulae\fR are given, upgrade only the specified brews (but do so even if they are pinned; see \fBpin\fR, \fBunpin\fR)\.
. .
.TP .TP
\fBuses [\-\-installed] [\-\-recursive] [\-\-devel|\-\-HEAD]\fR \fIformula\fR \fBuses [\-\-installed] [\-\-recursive] [\-\-devel|\-\-HEAD]\fR \fIformulae\fR
Show the formulae that specify \fIformula\fR as a dependency\. Show the formulae that specify \fIformulae\fR as a dependency\. When given multiple formula arguments, show the intersection of formulae that use \fIformulae\fR\.
. .
.IP .IP
Use \fB\-\-recursive\fR to resolve more than one level of dependencies\. Use \fB\-\-recursive\fR to resolve more than one level of dependencies\.