Skip to content

Commit

Permalink
man: update manpage and completions
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Oct 11, 2021
1 parent 7be2a95 commit ec69bab
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions completions/bash/brew
Expand Up @@ -1902,6 +1902,7 @@ _brew_tap() {
case "${cur}" in
-*)
__brewcomp "
--custom-remote
--debug
--force-auto-update
--full
Expand Down
1 change: 1 addition & 0 deletions completions/fish/brew.fish
Expand Up @@ -1288,6 +1288,7 @@ __fish_brew_complete_arg 'style; and not __fish_seen_argument -l formula -l form


__fish_brew_complete_cmd 'tap' 'Tap a formula repository'
__fish_brew_complete_arg 'tap' -l custom-remote -d 'Force tap even if it is already installed. Useful for retapping with a new custom Git remote'
__fish_brew_complete_arg 'tap' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'tap' -l force-auto-update -d 'Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)'
__fish_brew_complete_arg 'tap' -l full -d 'Convert a shallow clone to a full clone without untapping. Taps are only cloned as shallow clones if `--shallow` was originally passed'
Expand Down
1 change: 1 addition & 0 deletions completions/zsh/_brew
Expand Up @@ -1579,6 +1579,7 @@ _brew_style() {
# brew tap
_brew_tap() {
_arguments \
'--custom-remote[Force tap even if it is already installed. Useful for retapping with a new custom Git remote]' \
'--debug[Display any debugging information]' \
'--force-auto-update[Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)]' \
'--full[Convert a shallow clone to a full clone without untapping. Taps are only cloned as shallow clones if `--shallow` was originally passed]' \
Expand Down
2 changes: 2 additions & 0 deletions docs/Manpage.md
Expand Up @@ -600,6 +600,8 @@ using protocols other than HTTPS, e.g. SSH, git, HTTP, FTP(S), rsync.
Fetch tap as a shallow clone rather than a full clone. Useful for continuous integration.
* `--force-auto-update`:
Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons).
* `--custom-remote`:
Force tap even if it is already installed. Useful for retapping with a new custom Git remote.
* `--repair`:
Migrate tapped formulae from symlink-based to directory-based structure.
* `--list-pinned`:
Expand Down
4 changes: 4 additions & 0 deletions manpages/brew.1
Expand Up @@ -831,6 +831,10 @@ Fetch tap as a shallow clone rather than a full clone\. Useful for continuous in
Auto\-update tap even if it is not hosted on GitHub\. By default, only taps hosted on GitHub are auto\-updated (for performance reasons)\.
.
.TP
\fB\-\-custom\-remote\fR
Force tap even if it is already installed\. Useful for retapping with a new custom Git remote\.
.
.TP
\fB\-\-repair\fR
Migrate tapped formulae from symlink\-based to directory\-based structure\.
.
Expand Down

0 comments on commit ec69bab

Please sign in to comment.