untap: add missing --force switch
This commit is contained in:
parent
92caaf8c37
commit
a90fb27adb
@ -14,6 +14,8 @@ module Homebrew
|
|||||||
description <<~EOS
|
description <<~EOS
|
||||||
Remove a tapped formula repository.
|
Remove a tapped formula repository.
|
||||||
EOS
|
EOS
|
||||||
|
switch "-f", "--force",
|
||||||
|
description: "Untap even if formulae or casks from this tap are currently installed."
|
||||||
|
|
||||||
named_args :tap, min: 1
|
named_args :tap, min: 1
|
||||||
end
|
end
|
||||||
|
@ -2047,6 +2047,7 @@ _brew_untap() {
|
|||||||
-*)
|
-*)
|
||||||
__brewcomp "
|
__brewcomp "
|
||||||
--debug
|
--debug
|
||||||
|
--force
|
||||||
--help
|
--help
|
||||||
--quiet
|
--quiet
|
||||||
--verbose
|
--verbose
|
||||||
|
@ -1406,6 +1406,7 @@ __fish_brew_complete_arg 'unpin' -a '(__fish_brew_suggest_formulae_installed)'
|
|||||||
|
|
||||||
__fish_brew_complete_cmd 'untap' 'Remove a tapped formula repository'
|
__fish_brew_complete_cmd 'untap' 'Remove a tapped formula repository'
|
||||||
__fish_brew_complete_arg 'untap' -l debug -d 'Display any debugging information'
|
__fish_brew_complete_arg 'untap' -l debug -d 'Display any debugging information'
|
||||||
|
__fish_brew_complete_arg 'untap' -l force -d 'Untap even if formulae or casks from this tap are currently installed'
|
||||||
__fish_brew_complete_arg 'untap' -l help -d 'Show this message'
|
__fish_brew_complete_arg 'untap' -l help -d 'Show this message'
|
||||||
__fish_brew_complete_arg 'untap' -l quiet -d 'Make some output more quiet'
|
__fish_brew_complete_arg 'untap' -l quiet -d 'Make some output more quiet'
|
||||||
__fish_brew_complete_arg 'untap' -l verbose -d 'Make some output more verbose'
|
__fish_brew_complete_arg 'untap' -l verbose -d 'Make some output more verbose'
|
||||||
|
@ -1638,6 +1638,7 @@ _brew_unpin() {
|
|||||||
_brew_untap() {
|
_brew_untap() {
|
||||||
_arguments \
|
_arguments \
|
||||||
'--debug[Display any debugging information]' \
|
'--debug[Display any debugging information]' \
|
||||||
|
'--force[Untap even if formulae or casks from this tap are currently installed]' \
|
||||||
'--help[Show this message]' \
|
'--help[Show this message]' \
|
||||||
'--quiet[Make some output more quiet]' \
|
'--quiet[Make some output more quiet]' \
|
||||||
'--verbose[Make some output more verbose]' \
|
'--verbose[Make some output more verbose]' \
|
||||||
|
@ -590,10 +590,13 @@ for temporarily disabling a formula:
|
|||||||
Unpin *`formula`*, allowing them to be upgraded by `brew upgrade` *`formula`*.
|
Unpin *`formula`*, allowing them to be upgraded by `brew upgrade` *`formula`*.
|
||||||
See also `pin`.
|
See also `pin`.
|
||||||
|
|
||||||
### `untap` *`tap`* [...]
|
### `untap` [*`--force`*] *`tap`* [...]
|
||||||
|
|
||||||
Remove a tapped formula repository.
|
Remove a tapped formula repository.
|
||||||
|
|
||||||
|
* `-f`, `--force`:
|
||||||
|
Untap even if formulae or casks from this tap are currently installed.
|
||||||
|
|
||||||
### `update` [*`options`*]
|
### `update` [*`options`*]
|
||||||
|
|
||||||
Fetch the newest version of Homebrew and all formulae from GitHub using `git`(1) and perform any necessary migrations.
|
Fetch the newest version of Homebrew and all formulae from GitHub using `git`(1) and perform any necessary migrations.
|
||||||
|
@ -793,9 +793,13 @@ List files which would be unlinked without actually unlinking or deleting any fi
|
|||||||
.SS "\fBunpin\fR \fIinstalled_formula\fR [\.\.\.]"
|
.SS "\fBunpin\fR \fIinstalled_formula\fR [\.\.\.]"
|
||||||
Unpin \fIformula\fR, allowing them to be upgraded by \fBbrew upgrade\fR \fIformula\fR\. See also \fBpin\fR\.
|
Unpin \fIformula\fR, allowing them to be upgraded by \fBbrew upgrade\fR \fIformula\fR\. See also \fBpin\fR\.
|
||||||
.
|
.
|
||||||
.SS "\fBuntap\fR \fItap\fR [\.\.\.]"
|
.SS "\fBuntap\fR [\fI\-\-force\fR] \fItap\fR [\.\.\.]"
|
||||||
Remove a tapped formula repository\.
|
Remove a tapped formula repository\.
|
||||||
.
|
.
|
||||||
|
.TP
|
||||||
|
\fB\-f\fR, \fB\-\-force\fR
|
||||||
|
Untap even if formulae or casks from this tap are currently installed\.
|
||||||
|
.
|
||||||
.SS "\fBupdate\fR [\fIoptions\fR]"
|
.SS "\fBupdate\fR [\fIoptions\fR]"
|
||||||
Fetch the newest version of Homebrew and all formulae from GitHub using \fBgit\fR(1) and perform any necessary migrations\.
|
Fetch the newest version of Homebrew and all formulae from GitHub using \fBgit\fR(1) and perform any necessary migrations\.
|
||||||
.
|
.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user