Update manpage and completions

This commit is contained in:
Ruoyu Zhong 2024-04-17 03:33:05 +08:00
parent 1a1a466e9d
commit d6d1b7d4e9
No known key found for this signature in database
5 changed files with 7 additions and 7 deletions

View File

@ -1760,7 +1760,7 @@ _brew_pr_pull() {
case "${cur}" in
-*)
__brewcomp "
--artifact
--artifact-pattern
--autosquash
--branch-okay
--clean

View File

@ -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'

View File

@ -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]' \

View File

@ -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`

View File

@ -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)\.