From 7fd6d2166b93d8b86710b7642c094c7164f20dd7 Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Mon, 22 Feb 2021 17:58:13 -0800 Subject: [PATCH] Update man pages --- completions/bash/brew | 1 + completions/fish/brew.fish | 1 + completions/zsh/_brew | 3 ++- docs/Manpage.md | 2 ++ manpages/brew.1 | 4 ++++ 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/completions/bash/brew b/completions/bash/brew index 5ab2314c7d..504a665c38 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -1475,6 +1475,7 @@ _brew_pr_pull() { case "$cur" in -*) __brewcomp " + --archive-item --artifact --autosquash --bintray-mirror diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 058f9a5b22..1debb25df8 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -1053,6 +1053,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 archive-item -d 'Upload to the specified Archive item (default: `homebrew`)' __fish_brew_complete_arg 'pr-pull' -l artifact -d 'Download artifacts with the specified name (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 bintray-mirror -d 'Use the specified Bintray repository to automatically mirror stable URLs defined in the formulae (default: `mirror`)' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 52493950f3..1f645fcccc 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -1229,10 +1229,11 @@ _brew_pr_publish() { # brew pr-pull _brew_pr_pull() { _arguments \ + '(--bintray-org)--archive-item[Upload to the specified Archive item (default: `homebrew`)]' \ '--artifact[Download artifacts with the specified name (default: `bottles`)]' \ '(--clean)--autosquash[Automatically reformat and reword commits in the pull request to our preferred format]' \ '--bintray-mirror[Use the specified Bintray repository to automatically mirror stable URLs defined in the formulae (default: `mirror`)]' \ - '--bintray-org[Upload to the specified Bintray organisation (default: `homebrew`)]' \ + '(--archive-item)--bintray-org[Upload to the specified Bintray organisation (default: `homebrew`)]' \ '--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]' \ '--debug[Display any debugging information]' \ diff --git a/docs/Manpage.md b/docs/Manpage.md index 9d82a72731..b5e26897c8 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1181,6 +1181,8 @@ Requires write access to the repository. Message to include when autosquashing revision bumps, deletions, and rebuilds. * `--artifact`: Download artifacts with the specified name (default: `bottles`). +* `--archive-item`: + Upload to the specified Archive item (default: `homebrew`). * `--bintray-org`: Upload to the specified Bintray organisation (default: `homebrew`). * `--tap`: diff --git a/manpages/brew.1 b/manpages/brew.1 index 6bf3ad5257..e79201ba38 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1645,6 +1645,10 @@ Message to include when autosquashing revision bumps, deletions, and rebuilds\. Download artifacts with the specified name (default: \fBbottles\fR)\. . .TP +\fB\-\-archive\-item\fR +Upload to the specified Archive item (default: \fBhomebrew\fR)\. +. +.TP \fB\-\-bintray\-org\fR Upload to the specified Bintray organisation (default: \fBhomebrew\fR)\. .