Skip to content

Commit

Permalink
Update manpage and completions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Apr 16, 2024
1 parent 1a1a466 commit d6d1b7d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion completions/bash/brew
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,7 @@ _brew_pr_pull() {
case "${cur}" in
-*)
__brewcomp "
--artifact
--artifact-pattern
--autosquash
--branch-okay
--clean
Expand Down
2 changes: 1 addition & 1 deletion completions/fish/brew.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -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]' \
Expand Down
4 changes: 2 additions & 2 deletions docs/Manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
4 changes: 2 additions & 2 deletions manpages/brew.1
Original file line number Diff line number Diff line change
Expand Up @@ -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)\.
Expand Down

0 comments on commit d6d1b7d

Please sign in to comment.