diff --git a/Library/Homebrew/cmd/update-reset.rb b/Library/Homebrew/cmd/update-reset.rb index 9b10d6155f1bc..a433d8fa0d9a5 100644 --- a/Library/Homebrew/cmd/update-reset.rb +++ b/Library/Homebrew/cmd/update-reset.rb @@ -13,7 +13,7 @@ class UpdateReset < AbstractCommand *Note:* this will destroy all your uncommitted or committed changes. EOS - named_args :tap + named_args :repository end sig { override.void } diff --git a/completions/bash/brew b/completions/bash/brew index dd2b50bb315a0..94315a7c6081d 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -2666,7 +2666,6 @@ _brew_update_reset() { ;; *) ;; esac - __brew_complete_tapped } _brew_update_sponsors() { diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index e951b3325e489..3fde28c5f4d6c 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -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 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' -a '(__fish_brew_suggest_taps_installed)' __fish_brew_complete_cmd 'update-sponsors' 'Update the list of GitHub Sponsors in the `Homebrew/brew` README' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index ba5b8eabce584..12bca922a9157 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -2120,9 +2120,7 @@ _brew_update_reset() { '--debug[Display any debugging information]' \ '--help[Show this message]' \ '--quiet[Make some output more quiet]' \ - '--verbose[Make some output more verbose]' \ - - tap \ - '*::tap:__brew_any_tap' + '--verbose[Make some output more verbose]' } # brew update-sponsors diff --git a/docs/Manpage.md b/docs/Manpage.md index c73625fbac116..d4281ada9179a 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1311,7 +1311,7 @@ and perform any necessary migrations. : 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 *`repository`*) using `git`(1) to their latest `origin/HEAD`. diff --git a/manpages/brew.1 b/manpages/brew.1 index 66eb7dc5cf435..36fe165a9910e 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -819,7 +819,7 @@ Print the directories checked and \fBgit\fP operations performed\. .TP \fB\-d\fP, \fB\-\-debug\fP 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\&\. .P \fINote:\fP this will destroy all your uncommitted or committed changes\.