Skip to content

Commit

Permalink
Merge pull request #17126 from Homebrew/sponsors-maintainers-man-comp…
Browse files Browse the repository at this point in the history
…letions

Update manpage and completions.
  • Loading branch information
MikeMcQuaid committed Apr 22, 2024
2 parents af2d356 + 0e01fd5 commit b0c4202
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions completions/bash/brew
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ _brew_deps() {
__brewcomp "
--HEAD
--annotate
--arch
--cask
--debug
--direct
Expand All @@ -757,6 +758,7 @@ _brew_deps() {
--include-test
--installed
--missing
--os
--quiet
--skip-recommended
--topological
Expand Down
2 changes: 2 additions & 0 deletions completions/fish/brew.fish
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ __fish_brew_complete_arg 'create' -l verbose -d 'Make some output more verbose'
__fish_brew_complete_cmd 'deps' 'Show dependencies for formula'
__fish_brew_complete_arg 'deps' -l HEAD -d 'Show dependencies for HEAD version instead of stable version'
__fish_brew_complete_arg 'deps' -l annotate -d 'Mark any build, test, implicit, optional, or recommended dependencies as such in the output'
__fish_brew_complete_arg 'deps' -l arch -d 'Show dependencies for the given CPU architecture'
__fish_brew_complete_arg 'deps' -l cask -d 'Treat all named arguments as casks'
__fish_brew_complete_arg 'deps' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'deps' -l direct -d 'Show only the direct dependencies declared in the formula'
Expand All @@ -582,6 +583,7 @@ __fish_brew_complete_arg 'deps' -l include-requirements -d 'Include requirements
__fish_brew_complete_arg 'deps' -l include-test -d 'Include `:test` dependencies for formula (non-recursive)'
__fish_brew_complete_arg 'deps' -l installed -d 'List dependencies for formulae that are currently installed. If formula is specified, list only its dependencies that are currently installed'
__fish_brew_complete_arg 'deps' -l missing -d 'Show only missing dependencies'
__fish_brew_complete_arg 'deps' -l os -d 'Show dependencies for the given operating system'
__fish_brew_complete_arg 'deps' -l quiet -d 'Make some output more quiet'
__fish_brew_complete_arg 'deps' -l skip-recommended -d 'Skip `:recommended` dependencies for formula'
__fish_brew_complete_arg 'deps' -l topological -d 'Sort dependencies in topological order'
Expand Down
2 changes: 2 additions & 0 deletions completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ _brew_deps() {
_arguments \
'--HEAD[Show dependencies for HEAD version instead of stable version]' \
'--annotate[Mark any build, test, implicit, optional, or recommended dependencies as such in the output]' \
'--arch[Show dependencies for the given CPU architecture]' \
'--debug[Display any debugging information]' \
'--direct[Show only the direct dependencies declared in the formula]' \
'--dot[Show text-based graph description in DOT format]' \
Expand All @@ -735,6 +736,7 @@ _brew_deps() {
'--include-test[Include `:test` dependencies for formula (non-recursive)]' \
'(--missing --eval-all)--installed[List dependencies for formulae that are currently installed. If formula is specified, list only its dependencies that are currently installed]' \
'(--installed)--missing[Show only missing dependencies]' \
'--os[Show dependencies for the given operating system]' \
'--quiet[Make some output more quiet]' \
'--skip-recommended[Skip `:recommended` dependencies for formula]' \
'--topological[Sort dependencies in topological order]' \
Expand Down
8 changes: 8 additions & 0 deletions docs/Manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,14 @@ if the installed versions are outdated.

: Show dependencies for HEAD version instead of stable version.

`--os`

: Show dependencies for the given operating system.

`--arch`

: Show dependencies for the given CPU architecture.

`--formula`

: Treat all named arguments as formulae.
Expand Down
6 changes: 6 additions & 0 deletions manpages/brew.1
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ Switch into the mode used by the \fB\-\-eval\-all\fP option, but only list depen
\fB\-\-HEAD\fP
Show dependencies for HEAD version instead of stable version\.
.TP
\fB\-\-os\fP
Show dependencies for the given operating system\.
.TP
\fB\-\-arch\fP
Show dependencies for the given CPU architecture\.
.TP
\fB\-\-formula\fP
Treat all named arguments as formulae\.
.TP
Expand Down

0 comments on commit b0c4202

Please sign in to comment.