diff --git a/completions/bash/brew b/completions/bash/brew index d4bdc48e4b..278a38f692 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -2694,6 +2694,7 @@ _brew_update_python_resources() { --exclude-packages --extra-packages --help + --ignore-errors --ignore-non-pypi-packages --install-dependencies --package-name diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 36114a1c0c..2ad245fcf8 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -1720,6 +1720,7 @@ __fish_brew_complete_arg 'update-python-resources' -l debug -d 'Display any debu __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 extra-packages -d 'Include these additional packages when finding resources' __fish_brew_complete_arg 'update-python-resources' -l help -d 'Show this message' +__fish_brew_complete_arg 'update-python-resources' -l ignore-errors -d 'Record all discovered resources, even those that can\'t be resolved successfully. This option is ignored for homebrew/core formulae' __fish_brew_complete_arg 'update-python-resources' -l ignore-non-pypi-packages -d 'Don\'t fail if formula is not a PyPI package' __fish_brew_complete_arg 'update-python-resources' -l install-dependencies -d 'Install missing dependencies required to update resources' __fish_brew_complete_arg 'update-python-resources' -l package-name -d 'Use the specified package-name when finding resources for formula. If no package name is specified, it will be inferred from the formula\'s stable URL' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index ea3cb89910..0f3618a79d 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -2138,6 +2138,7 @@ _brew_update_python_resources() { '--exclude-packages[Exclude these packages when finding resources]' \ '--extra-packages[Include these additional packages when finding resources]' \ '--help[Show this message]' \ + '--ignore-errors[Record all discovered resources, even those that can'\''t be resolved successfully. This option is ignored for homebrew/core formulae]' \ '--ignore-non-pypi-packages[Don'\''t fail if formula is not a PyPI package]' \ '--install-dependencies[Install missing dependencies required to update resources]' \ '--package-name[Use the specified package-name when finding resources for formula. If no package name is specified, it will be inferred from the formula'\''s stable URL]' \ diff --git a/docs/Manpage.md b/docs/Manpage.md index 9ba4053381..cba9428744 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -2906,6 +2906,11 @@ Update versions for PyPI resource blocks in *`formula`*. : Suppress any output. +`--ignore-errors` + +: Record all discovered resources, even those that can't be resolved + successfully. This option is ignored for homebrew/core formulae. + `--ignore-non-pypi-packages` : Don't fail if *`formula`* is not a PyPI package. diff --git a/manpages/brew.1 b/manpages/brew.1 index e8d1ac53fe..3dfd164deb 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1858,6 +1858,9 @@ Print the updated resource blocks instead of changing \fIformula\fP\&\. \fB\-s\fP, \fB\-\-silent\fP Suppress any output\. .TP +\fB\-\-ignore\-errors\fP +Record all discovered resources, even those that can\[u2019]t be resolved successfully\. This option is ignored for homebrew/core formulae\. +.TP \fB\-\-ignore\-non\-pypi\-packages\fP Don\[u2019]t fail if \fIformula\fP is not a PyPI package\. .TP