cmd/update-reset.rb: the named args are repos not taps
This commit is contained in:
parent
913ea0e5e4
commit
e806870f85
@ -13,7 +13,7 @@ module Homebrew
|
|||||||
*Note:* this will destroy all your uncommitted or committed changes.
|
*Note:* this will destroy all your uncommitted or committed changes.
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
named_args :tap
|
named_args :repository
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { override.void }
|
sig { override.void }
|
||||||
|
|||||||
@ -2666,7 +2666,6 @@ _brew_update_reset() {
|
|||||||
;;
|
;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
__brew_complete_tapped
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_brew_update_sponsors() {
|
_brew_update_sponsors() {
|
||||||
|
|||||||
@ -1711,7 +1711,6 @@ __fish_brew_complete_arg 'update-reset' -l debug -d 'Display any debugging infor
|
|||||||
__fish_brew_complete_arg 'update-reset' -l help -d 'Show this message'
|
__fish_brew_complete_arg 'update-reset' -l help -d 'Show this message'
|
||||||
__fish_brew_complete_arg 'update-reset' -l quiet -d 'Make some output more quiet'
|
__fish_brew_complete_arg 'update-reset' -l quiet -d 'Make some output more quiet'
|
||||||
__fish_brew_complete_arg 'update-reset' -l verbose -d 'Make some output more verbose'
|
__fish_brew_complete_arg 'update-reset' -l verbose -d 'Make some output more verbose'
|
||||||
__fish_brew_complete_arg 'update-reset' -a '(__fish_brew_suggest_taps_installed)'
|
|
||||||
|
|
||||||
|
|
||||||
__fish_brew_complete_cmd 'update-sponsors' 'Update the list of GitHub Sponsors in the `Homebrew/brew` README'
|
__fish_brew_complete_cmd 'update-sponsors' 'Update the list of GitHub Sponsors in the `Homebrew/brew` README'
|
||||||
|
|||||||
@ -2120,9 +2120,7 @@ _brew_update_reset() {
|
|||||||
'--debug[Display any debugging information]' \
|
'--debug[Display any debugging information]' \
|
||||||
'--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]'
|
||||||
- tap \
|
|
||||||
'*::tap:__brew_any_tap'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# brew update-sponsors
|
# brew update-sponsors
|
||||||
|
|||||||
@ -1311,7 +1311,7 @@ and perform any necessary migrations.
|
|||||||
|
|
||||||
: Display a trace of all shell commands as they are executed.
|
: Display a trace of all shell commands as they are executed.
|
||||||
|
|
||||||
### `update-reset` \[*`tap`* ...\]
|
### `update-reset` \[*`repository`* ...\]
|
||||||
|
|
||||||
Fetch and reset Homebrew and all tap repositories (or any specified
|
Fetch and reset Homebrew and all tap repositories (or any specified
|
||||||
*`repository`*) using `git`(1) to their latest `origin/HEAD`.
|
*`repository`*) using `git`(1) to their latest `origin/HEAD`.
|
||||||
|
|||||||
@ -819,7 +819,7 @@ Print the directories checked and \fBgit\fP operations performed\.
|
|||||||
.TP
|
.TP
|
||||||
\fB\-d\fP, \fB\-\-debug\fP
|
\fB\-d\fP, \fB\-\-debug\fP
|
||||||
Display a trace of all shell commands as they are executed\.
|
Display a trace of all shell commands as they are executed\.
|
||||||
.SS "\fBupdate\-reset\fP \fR[\fItap\fP \.\.\.]"
|
.SS "\fBupdate\-reset\fP \fR[\fIrepository\fP \.\.\.]"
|
||||||
Fetch and reset Homebrew and all tap repositories (or any specified \fIrepository\fP) using \fBgit\fP(1) to their latest \fBorigin/HEAD\fP\&\.
|
Fetch and reset Homebrew and all tap repositories (or any specified \fIrepository\fP) using \fBgit\fP(1) to their latest \fBorigin/HEAD\fP\&\.
|
||||||
.P
|
.P
|
||||||
\fINote:\fP this will destroy all your uncommitted or committed changes\.
|
\fINote:\fP this will destroy all your uncommitted or committed changes\.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user