Skip to content

Commit

Permalink
Merge pull request #13192 from Homebrew/update-man-completions
Browse files Browse the repository at this point in the history
Update maintainers, manpage and completions.
  • Loading branch information
Bo98 committed Apr 25, 2022
2 parents ea26434 + 3451cb6 commit 96e8796
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions completions/bash/brew
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,7 @@ _brew_pr_automerge() {
--with-label
--without-approval
--without-labels
--workflow
"
return
;;
Expand Down
1 change: 1 addition & 0 deletions completions/fish/brew.fish
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,7 @@ __fish_brew_complete_arg 'pr-automerge' -l verbose -d 'Make some output more ver
__fish_brew_complete_arg 'pr-automerge' -l with-label -d 'Pull requests must have this label'
__fish_brew_complete_arg 'pr-automerge' -l without-approval -d 'Pull requests do not require approval to be merged'
__fish_brew_complete_arg 'pr-automerge' -l without-labels -d 'Pull requests must not have these labels (default: `do not merge`, `new formula`, `automerge-skip`)'
__fish_brew_complete_arg 'pr-automerge' -l workflow -d 'Workflow file to use with `brew pr-publish`'


__fish_brew_complete_cmd 'pr-publish' 'Publish bottles for a pull request with GitHub Actions'
Expand Down
3 changes: 2 additions & 1 deletion completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,8 @@ _brew_pr_automerge() {
'--verbose[Make some output more verbose]' \
'--with-label[Pull requests must have this label]' \
'--without-approval[Pull requests do not require approval to be merged]' \
'--without-labels[Pull requests must not have these labels (default: `do not merge`, `new formula`, `automerge-skip`)]'
'--without-labels[Pull requests must not have these labels (default: `do not merge`, `new formula`, `automerge-skip`)]' \
'--workflow[Workflow file to use with `brew pr-publish`]'
}

# brew pr-publish
Expand Down
2 changes: 2 additions & 0 deletions docs/Manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,8 @@ Find pull requests that can be automatically merged using `brew pr-publish`.

* `--tap`:
Target tap repository (default: `homebrew/core`).
* `--workflow`:
Workflow file to use with `brew pr-publish`.
* `--with-label`:
Pull requests must have this label.
* `--without-labels`:
Expand Down
4 changes: 4 additions & 0 deletions manpages/brew.1
Original file line number Diff line number Diff line change
Expand Up @@ -1772,6 +1772,10 @@ Find pull requests that can be automatically merged using \fBbrew pr\-publish\fR
Target tap repository (default: \fBhomebrew/core\fR)\.
.
.TP
\fB\-\-workflow\fR
Workflow file to use with \fBbrew pr\-publish\fR\.
.
.TP
\fB\-\-with\-label\fR
Pull requests must have this label\.
.
Expand Down

0 comments on commit 96e8796

Please sign in to comment.