diff --git a/completions/bash/brew b/completions/bash/brew index 71098288b9553665771182561bf87a740d2efc13..abd77828715ac067d6cf16b5e0d9ecda98ae687b 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -2108,6 +2108,21 @@ _brew_update_license_data() { esac } +_brew_update_maintainers() { + local cur="${COMP_WORDS[COMP_CWORD]}" + case "$cur" in + -*) + __brewcomp " + --debug + --help + --quiet + --verbose + " + return + ;; + esac +} + _brew_update_python_resources() { local cur="${COMP_WORDS[COMP_CWORD]}" case "$cur" in @@ -2382,6 +2397,7 @@ _brew() { up) _brew_up ;; update) _brew_update ;; update-license-data) _brew_update_license_data ;; + update-maintainers) _brew_update_maintainers ;; update-python-resources) _brew_update_python_resources ;; update-report) _brew_update_report ;; update-test) _brew_update_test ;; diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index d146d6ce6c6c31ccbcba8b4f09de802986ec0cb7..a2c251d9b9dc70b9c73f75e1fbea3ed9c47e33b6 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -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_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_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' diff --git a/completions/internal_commands_list.txt b/completions/internal_commands_list.txt index b1d36a5ddc2dafda944e18670c1423a62a23e388..0b5931a16e41c88a7e1019f7c74d9fe56619189b 100644 --- a/completions/internal_commands_list.txt +++ b/completions/internal_commands_list.txt @@ -97,6 +97,7 @@ untap up update update-license-data +update-maintainers update-python-resources update-reset update-test diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 7792c24eedb73814126f8f37363c424f231ed72d..22c4e2e749b300689ea82f0d0afcc08adbbf5aa9 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -212,6 +212,7 @@ __brew_internal_commands() { '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-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-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`' @@ -1677,6 +1678,15 @@ _brew_update_license_data() { '--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() { _arguments \ diff --git a/docs/Manpage.md b/docs/Manpage.md index 2581d00e342bc38fd7200fe2b2ea751fdad38a41..c7a72bd5ff7b1ad6ac59e1028acbea71abe155a4 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1384,6 +1384,10 @@ Update SPDX license data in the Homebrew repository. * `--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. +### `update-maintainers` + +Update the list of maintainers in the `Homebrew/brew` README. + ### `update-python-resources` [*`options`*] *`formula`* [...] Update versions for PyPI resource blocks in *`formula`*. diff --git a/manpages/brew.1 b/manpages/brew.1 index 81c06baee8398ce798aae0af49a70db1d48d8b6c..759b9edbad6b84b3a3f18bf7db0bed237698997b 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1916,6 +1916,9 @@ Update SPDX license data in the Homebrew repository\. \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\. . +.SS "\fBupdate\-maintainers\fR" +Update the list of maintainers in the \fBHomebrew/brew\fR README\. +. .SS "\fBupdate\-python\-resources\fR [\fIoptions\fR] \fIformula\fR [\.\.\.]" Update versions for PyPI resource blocks in \fIformula\fR\. .