diff --git a/completions/bash/brew b/completions/bash/brew index 424d7e4244..3419efd320 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -498,6 +498,9 @@ _brew_bump_formula_pr() { --no-browse --no-fork --online + --python-exclude-packages + --python-extra-packages + --python-package-name --quiet --revision --sha256 diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 7984c21e75..aecc1cd8b7 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -432,6 +432,9 @@ __fish_brew_complete_arg 'bump-formula-pr' -l no-audit -d 'Don\'t run `brew audi __fish_brew_complete_arg 'bump-formula-pr' -l no-browse -d 'Print the pull request URL instead of opening in a browser' __fish_brew_complete_arg 'bump-formula-pr' -l no-fork -d 'Don\'t try to fork the repository' __fish_brew_complete_arg 'bump-formula-pr' -l online -d 'Run `brew audit --online` before opening the PR' +__fish_brew_complete_arg 'bump-formula-pr' -l python-exclude-packages -d 'Exclude these Python packages when finding resources' +__fish_brew_complete_arg 'bump-formula-pr' -l python-extra-packages -d 'Include these additional Python packages when finding resources' +__fish_brew_complete_arg 'bump-formula-pr' -l python-package-name -d 'Use the specified package-name when finding Python resources for formula. If no package name is specified, it will be inferred from the formula\'s stable URL' __fish_brew_complete_arg 'bump-formula-pr' -l quiet -d 'Make some output more quiet' __fish_brew_complete_arg 'bump-formula-pr' -l revision -d 'Specify the new commit revision corresponding to the specified git tag or specified version' __fish_brew_complete_arg 'bump-formula-pr' -l sha256 -d 'Specify the SHA-256 checksum of the new download' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 56f6406ca1..cbaef4b70d 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -531,6 +531,9 @@ _brew_bump_formula_pr() { '--no-browse[Print the pull request URL instead of opening in a browser]' \ '--no-fork[Don'\''t try to fork the repository]' \ '(--no-audit)--online[Run `brew audit --online` before opening the PR]' \ + '--python-exclude-packages[Exclude these Python packages when finding resources]' \ + '--python-extra-packages[Include these additional Python packages when finding resources]' \ + '--python-package-name[Use the specified package-name when finding Python resources for formula. If no package name is specified, it will be inferred from the formula'\''s stable URL]' \ '--quiet[Make some output more quiet]' \ '--revision[Specify the new commit revision corresponding to the specified git tag or specified version]' \ '--sha256[Specify the SHA-256 checksum of the new download]' \ diff --git a/docs/Manpage.md b/docs/Manpage.md index b774c5de36..3943a0575d 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1034,6 +1034,12 @@ nor vice versa. It must use whichever style specification the formula already us Specify the new commit *`revision`* corresponding to the specified git *`tag`* or specified *`version`*. * `-f`, `--force`: Ignore duplicate open PRs. Remove all mirrors if `--mirror` was not specified. +* `--python-package-name`: + Use the specified *`package-name`* when finding Python resources for *`formula`*. If no package name is specified, it will be inferred from the formula's stable URL. +* `--python-extra-packages`: + Include these additional Python packages when finding resources. +* `--python-exclude-packages`: + Exclude these Python packages when finding resources. ### `bump-revision` [*`options`*] *`formula`* [...] diff --git a/manpages/brew.1 b/manpages/brew.1 index 64e5505a94..ea4b992fd1 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1475,6 +1475,18 @@ Specify the new commit \fIrevision\fR corresponding to the specified git \fItag\ \fB\-f\fR, \fB\-\-force\fR Ignore duplicate open PRs\. Remove all mirrors if \fB\-\-mirror\fR was not specified\. . +.TP +\fB\-\-python\-package\-name\fR +Use the specified \fIpackage\-name\fR when finding Python resources for \fIformula\fR\. If no package name is specified, it will be inferred from the formula\'s stable URL\. +. +.TP +\fB\-\-python\-extra\-packages\fR +Include these additional Python packages when finding resources\. +. +.TP +\fB\-\-python\-exclude\-packages\fR +Exclude these Python packages when finding resources\. +. .SS "\fBbump\-revision\fR [\fIoptions\fR] \fIformula\fR [\.\.\.]" Create a commit to increment the revision of \fIformula\fR\. If no revision is present, "revision 1" will be added\. .