Merge pull request #17126 from Homebrew/sponsors-maintainers-man-completions

Update manpage and completions.
This commit is contained in:
Mike McQuaid 2024-04-22 13:50:50 +01:00 committed by GitHub
commit b0c4202954
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 0 deletions

View File

@ -741,6 +741,7 @@ _brew_deps() {
__brewcomp "
--HEAD
--annotate
--arch
--cask
--debug
--direct
@ -757,6 +758,7 @@ _brew_deps() {
--include-test
--installed
--missing
--os
--quiet
--skip-recommended
--topological

View File

@ -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'
@ -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'

View File

@ -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]' \
@ -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]' \

View File

@ -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.

View File

@ -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