diff --git a/completions/bash/brew b/completions/bash/brew index b539b283fa..318ae832a4 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -1760,7 +1760,7 @@ _brew_pr_pull() { case "${cur}" in -*) __brewcomp " - --artifact + --artifact-pattern --autosquash --branch-okay --clean diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 52c3fc97e2..bcb88f61a1 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -1191,7 +1191,7 @@ __fish_brew_complete_arg 'pr-publish' -l workflow -d 'Target workflow filename ( __fish_brew_complete_cmd 'pr-pull' 'Download and publish bottles, and apply the bottle commit from a pull request with artifacts generated by GitHub Actions' -__fish_brew_complete_arg 'pr-pull' -l artifact -d 'Download artifacts with the specified name (default: `bottles`)' +__fish_brew_complete_arg 'pr-pull' -l artifact-pattern -d 'Download artifacts with the specified pattern (default: `bottles{,-*}`)' __fish_brew_complete_arg 'pr-pull' -l autosquash -d 'Automatically reformat and reword commits in the pull request to our preferred format' __fish_brew_complete_arg 'pr-pull' -l branch-okay -d 'Do not warn if pulling to a branch besides the repository default (useful for testing)' __fish_brew_complete_arg 'pr-pull' -l clean -d 'Do not amend the commits from pull requests' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index f1d3e95448..99a3d4ac16 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -1482,7 +1482,7 @@ _brew_pr_publish() { # brew pr-pull _brew_pr_pull() { _arguments \ - '--artifact[Download artifacts with the specified name (default: `bottles`)]' \ + '--artifact-pattern[Download artifacts with the specified pattern (default: `bottles{,-*}`)]' \ '(--clean)--autosquash[Automatically reformat and reword commits in the pull request to our preferred format]' \ '--branch-okay[Do not warn if pulling to a branch besides the repository default (useful for testing)]' \ '(--autosquash)--clean[Do not amend the commits from pull requests]' \ diff --git a/docs/Manpage.md b/docs/Manpage.md index 427057872a..bbfd28101a 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -2423,9 +2423,9 @@ repository. : Message to include when autosquashing revision bumps, deletions and rebuilds. -`--artifact` +`--artifact-pattern` -: Download artifacts with the specified name (default: `bottles`). +: Download artifacts with the specified pattern (default: `bottles{,-*}`). `--tap` diff --git a/manpages/brew.1 b/manpages/brew.1 index b12240eae6..63de44ddd5 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1543,8 +1543,8 @@ Specify a committer name and email in \fBgit\fP\[u2019]s standard author format\ \fB\-\-message\fP Message to include when autosquashing revision bumps, deletions and rebuilds\. .TP -\fB\-\-artifact\fP -Download artifacts with the specified name (default: \fBbottles\fP)\. +\fB\-\-artifact\-pattern\fP +Download artifacts with the specified pattern (default: \fBbottles{,\-*}\fP)\. .TP \fB\-\-tap\fP Target tap repository (default: \fBhomebrew/core\fP)\.