Update manpage and completions

This commit is contained in:
nandahkrishna 2021-02-04 17:49:38 +05:30
parent 6026c7c74d
commit 7bb059b523
No known key found for this signature in database
GPG Key ID: 067E5FCD58ADF3AA
6 changed files with 41 additions and 0 deletions

View File

@ -2108,6 +2108,21 @@ _brew_update_license_data() {
esac esac
} }
_brew_update_maintainers() {
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
-*)
__brewcomp "
--debug
--help
--quiet
--verbose
"
return
;;
esac
}
_brew_update_python_resources() { _brew_update_python_resources() {
local cur="${COMP_WORDS[COMP_CWORD]}" local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in case "$cur" in
@ -2382,6 +2397,7 @@ _brew() {
up) _brew_up ;; up) _brew_up ;;
update) _brew_update ;; update) _brew_update ;;
update-license-data) _brew_update_license_data ;; update-license-data) _brew_update_license_data ;;
update-maintainers) _brew_update_maintainers ;;
update-python-resources) _brew_update_python_resources ;; update-python-resources) _brew_update_python_resources ;;
update-report) _brew_update_report ;; update-report) _brew_update_report ;;
update-test) _brew_update_test ;; update-test) _brew_update_test ;;

View File

@ -1439,6 +1439,13 @@ __fish_brew_complete_arg 'update-license-data' -l quiet -d 'Make some output mor
__fish_brew_complete_arg 'update-license-data' -l verbose -d 'Make some output more verbose' __fish_brew_complete_arg 'update-license-data' -l verbose -d 'Make some output more verbose'
__fish_brew_complete_cmd 'update-maintainers' 'Update the list of maintainers in the `Homebrew/brew` README'
__fish_brew_complete_arg 'update-maintainers' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'update-maintainers' -l help -d 'Show this message'
__fish_brew_complete_arg 'update-maintainers' -l quiet -d 'Make some output more quiet'
__fish_brew_complete_arg 'update-maintainers' -l verbose -d 'Make some output more verbose'
__fish_brew_complete_cmd 'update-python-resources' 'Update versions for PyPI resource blocks in formula' __fish_brew_complete_cmd 'update-python-resources' 'Update versions for PyPI resource blocks in formula'
__fish_brew_complete_arg 'update-python-resources' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'update-python-resources' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'update-python-resources' -l exclude-packages -d 'Exclude these packages when finding resources' __fish_brew_complete_arg 'update-python-resources' -l exclude-packages -d 'Exclude these packages when finding resources'

View File

@ -97,6 +97,7 @@ untap
up up
update update
update-license-data update-license-data
update-maintainers
update-python-resources update-python-resources
update-reset update-reset
update-test update-test

View File

@ -212,6 +212,7 @@ __brew_internal_commands() {
'untap:Remove a tapped formula repository' 'untap:Remove a tapped formula repository'
'update:Fetch the newest version of Homebrew and all formulae from GitHub using `git`(1) and perform any necessary migrations' 'update:Fetch the newest version of Homebrew and all formulae from GitHub using `git`(1) and perform any necessary migrations'
'update-license-data:Update SPDX license data in the Homebrew repository' 'update-license-data:Update SPDX license data in the Homebrew repository'
'update-maintainers:Update the list of maintainers in the `Homebrew/brew` README'
'update-python-resources:Update versions for PyPI resource blocks in formula' 'update-python-resources:Update versions for PyPI resource blocks in formula'
'update-report:The Ruby implementation of `brew update`' 'update-report:The Ruby implementation of `brew update`'
'update-reset:Fetch and reset Homebrew and all tap repositories (or any specified repository) using `git`(1) to their latest `origin/HEAD`' 'update-reset:Fetch and reset Homebrew and all tap repositories (or any specified repository) using `git`(1) to their latest `origin/HEAD`'
@ -1677,6 +1678,15 @@ _brew_update_license_data() {
'--verbose[Make some output more verbose]' '--verbose[Make some output more verbose]'
} }
# brew update-maintainers
_brew_update_maintainers() {
_arguments \
'--debug[Display any debugging information]' \
'--help[Show this message]' \
'--quiet[Make some output more quiet]' \
'--verbose[Make some output more verbose]'
}
# brew update-python-resources # brew update-python-resources
_brew_update_python_resources() { _brew_update_python_resources() {
_arguments \ _arguments \

View File

@ -1384,6 +1384,10 @@ Update SPDX license data in the Homebrew repository.
* `--fail-if-not-changed`: * `--fail-if-not-changed`:
Return a failing status code if current license data's version is the same as the upstream. This can be used to notify CI when the SPDX license data is out of date. Return a failing status code if current license data's version is the same as the upstream. This can be used to notify CI when the SPDX license data is out of date.
### `update-maintainers`
Update the list of maintainers in the `Homebrew/brew` README.
### `update-python-resources` [*`options`*] *`formula`* [...] ### `update-python-resources` [*`options`*] *`formula`* [...]
Update versions for PyPI resource blocks in *`formula`*. Update versions for PyPI resource blocks in *`formula`*.

View File

@ -1916,6 +1916,9 @@ Update SPDX license data in the Homebrew repository\.
\fB\-\-fail\-if\-not\-changed\fR \fB\-\-fail\-if\-not\-changed\fR
Return a failing status code if current license data\'s version is the same as the upstream\. This can be used to notify CI when the SPDX license data is out of date\. Return a failing status code if current license data\'s version is the same as the upstream\. This can be used to notify CI when the SPDX license data is out of date\.
. .
.SS "\fBupdate\-maintainers\fR"
Update the list of maintainers in the \fBHomebrew/brew\fR README\.
.
.SS "\fBupdate\-python\-resources\fR [\fIoptions\fR] \fIformula\fR [\.\.\.]" .SS "\fBupdate\-python\-resources\fR [\fIoptions\fR] \fIformula\fR [\.\.\.]"
Update versions for PyPI resource blocks in \fIformula\fR\. Update versions for PyPI resource blocks in \fIformula\fR\.
. .