aboutsummaryrefslogtreecommitdiffstats
path: root/completions
diff options
context:
space:
mode:
authorAndrew Janke2017-08-03 00:41:51 -0400
committerAndrew Janke2017-08-11 16:43:37 -0400
commitbb85581df054d64f108ee6916fc5196bea93055c (patch)
tree091176eb62482c51dca7475d981ac185419de37d /completions
parent67b20d97d80d8bf550e62a92af4aba025dd806a7 (diff)
downloadbrew-bb85581df054d64f108ee6916fc5196bea93055c.tar.bz2
brew deps: add --include-requirements
Diffstat (limited to 'completions')
-rw-r--r--completions/zsh/_brew10
1 files changed, 8 insertions, 2 deletions
diff --git a/completions/zsh/_brew b/completions/zsh/_brew
index 61dc26b42..bc88f402b 100644
--- a/completions/zsh/_brew
+++ b/completions/zsh/_brew
@@ -284,8 +284,8 @@ _brew_create() {
':url:_urls'
}
-# brew deps [--1] [-n] [--union] [--full-name] [--installed] [--include-build] [--include-optional] [--skip-recommended] formulae
-# brew deps --tree [filters] (formulae|--installed)
+# brew deps [--1] [-n] [--union] [--full-name] [--installed] [--include-build] [--include-optional] [--skip-recommended] [--include-requirements] formulae
+# brew deps --tree [--1] [filters] (formulae|--installed)
# brew deps [filters] (--installed|--all)
# The filters placeholder is any combination of options --include-build, --include-optional, and --skip-recommended as documented above.
_brew_deps() {
@@ -294,6 +294,7 @@ _brew_deps() {
'--include-build[include \:build dependencies]' \
'--include-optional[include \:optional dependencies]' \
'--skip-recommended[skip \:recommended type dependencies]' \
+ '--include-requirements[include requirements]' \
'--1[only show dependencies one level down, instead of recursing]' \
'-n[show dependencies in topological order]' \
'--union[show the union of dependencies for formulae, instead of the intersection]' \
@@ -303,6 +304,11 @@ _brew_deps() {
- tree-deps \
'--tree[show dependencies as a tree]' \
'(*)--installed[show dependencies for all installed formulae]' \
+ '--include-build[include \:build dependencies]' \
+ '--include-optional[include \:optional dependencies]' \
+ '--skip-recommended[skip \:recommended type dependencies]' \
+ '--include-requirements[include requirements]' \
+ '--1[only show dependencies one level down, instead of recursing]' \
'(--installed)*:formulae:__brew_formulae' \
- installed-all \
'--include-build[include \:build dependencies]' \