Merge pull request #16740 from Homebrew/bump-no-fork
This commit is contained in:
commit
b1fbd59479
@ -37,6 +37,8 @@ module Homebrew
|
||||
description: "Check only casks."
|
||||
switch "--installed",
|
||||
description: "Check formulae and casks that are currently installed."
|
||||
switch "--no-fork",
|
||||
description: "Don't try to fork the repository."
|
||||
switch "--open-pr",
|
||||
description: "Open a pull request for the new version if none have been opened yet."
|
||||
flag "--limit=",
|
||||
@ -509,6 +511,8 @@ module Homebrew
|
||||
"--message=Created by `brew bump`",
|
||||
]
|
||||
|
||||
bump_cask_pr_args << "--no-fork" if args.no_fork?
|
||||
|
||||
system HOMEBREW_BREW_FILE, *bump_cask_pr_args
|
||||
end
|
||||
|
||||
|
||||
@ -443,6 +443,7 @@ _brew_bump() {
|
||||
--help
|
||||
--installed
|
||||
--limit
|
||||
--no-fork
|
||||
--no-pull-requests
|
||||
--open-pr
|
||||
--quiet
|
||||
|
||||
@ -383,6 +383,7 @@ __fish_brew_complete_arg 'bump' -l full-name -d 'Print formulae/casks with fully
|
||||
__fish_brew_complete_arg 'bump' -l help -d 'Show this message'
|
||||
__fish_brew_complete_arg 'bump' -l installed -d 'Check formulae and casks that are currently installed'
|
||||
__fish_brew_complete_arg 'bump' -l limit -d 'Limit number of package results returned'
|
||||
__fish_brew_complete_arg 'bump' -l no-fork -d 'Don\'t try to fork the repository'
|
||||
__fish_brew_complete_arg 'bump' -l no-pull-requests -d 'Do not retrieve pull requests from GitHub'
|
||||
__fish_brew_complete_arg 'bump' -l open-pr -d 'Open a pull request for the new version if none have been opened yet'
|
||||
__fish_brew_complete_arg 'bump' -l quiet -d 'Make some output more quiet'
|
||||
|
||||
@ -498,6 +498,7 @@ _brew_bump() {
|
||||
'--help[Show this message]' \
|
||||
'--installed[Check formulae and casks that are currently installed]' \
|
||||
'--limit[Limit number of package results returned]' \
|
||||
'--no-fork[Don'\''t try to fork the repository]' \
|
||||
'(--open-pr)--no-pull-requests[Do not retrieve pull requests from GitHub]' \
|
||||
'(--no-pull-requests)--open-pr[Open a pull request for the new version if none have been opened yet]' \
|
||||
'--quiet[Make some output more quiet]' \
|
||||
|
||||
@ -1031,6 +1031,8 @@ formulae, also displays whether a pull request has been opened with the URL.
|
||||
Check only casks.
|
||||
* `--installed`:
|
||||
Check formulae and casks that are currently installed.
|
||||
* `--no-fork`:
|
||||
Don't try to fork the repository.
|
||||
* `--open-pr`:
|
||||
Open a pull request for the new version if none have been opened yet.
|
||||
* `--limit`:
|
||||
|
||||
@ -1461,6 +1461,10 @@ Check only casks\.
|
||||
Check formulae and casks that are currently installed\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-no\-fork\fR
|
||||
Don\'t try to fork the repository\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-open\-pr\fR
|
||||
Open a pull request for the new version if none have been opened yet\.
|
||||
.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user