aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/manpages
diff options
context:
space:
mode:
authorXu Cheng2015-09-02 20:56:04 +0800
committerMike McQuaid2015-02-09 14:12:19 +0000
commitb4545f364ef8bb0932c2367eade1d380f277c4bf (patch)
treea5cce056428b9a8029aa702ba9196cb43b115431 /Library/Homebrew/manpages
parent5b855d60d099e4e0cd342c7d3bb9a78e5cdbc8fb (diff)
downloadhomebrew-b4545f364ef8bb0932c2367eade1d380f277c4bf.tar.bz2
test-bot: only test the runtime dependencies.
Also add support to `brew uses` to ignore build or optional dependencies. Closes #36154. Closes #36656. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/manpages')
-rw-r--r--Library/Homebrew/manpages/brew.1.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md
index 5a70353a4..34cf8dd6a 100644
--- a/Library/Homebrew/manpages/brew.1.md
+++ b/Library/Homebrew/manpages/brew.1.md
@@ -398,7 +398,7 @@ Note that these flags should only appear after a command.
If <formulae> are given, upgrade only the specified brews (but do so even
if they are pinned; see `pin`, `unpin`).
- * `uses [--installed] [--recursive] [--devel|--HEAD]` <formulae>:
+ * `uses [--installed] [--recursive] [--skip-build] [--skip-optional] [--devel|--HEAD]` <formulae>:
Show the formulae that specify <formulae> as a dependency. When given
multiple formula arguments, show the intersection of formulae that use
<formulae>.
@@ -407,6 +407,10 @@ Note that these flags should only appear after a command.
If `--installed` is passed, only list installed formulae.
+ By default, `uses` shows all formulae that specify <formulae> as a dependency.
+ To skip the `:build` type dependencies, pass `--skip-build`. Similarly, pass
+ `--skip-optional` to skip `:optional` dependencies.
+
By default, `uses` shows usages of `formula` by stable builds. To find
cases where `formula` is used by development or HEAD build, pass
`--devel` or `--HEAD`.