diff --git a/completions/bash/brew b/completions/bash/brew index 2678e3d9d8..2f064c72c0 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -126,6 +126,7 @@ _brew___cache() { __brewcomp " --HEAD --arch + --bottle-tag --build-from-source --cask --debug diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index f5328efdc2..b9963a96e1 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -193,6 +193,7 @@ end __fish_brew_complete_cmd '--cache' 'Display Homebrew\'s download cache' __fish_brew_complete_arg '--cache' -l HEAD -d 'Show the cache file used when building from HEAD' __fish_brew_complete_arg '--cache' -l arch -d 'Show cache file for the given CPU architecture.(Pass `all` to show cache files for all architectures.)' +__fish_brew_complete_arg '--cache' -l bottle-tag -d 'Show the cache file used when pouring a bottle for the given tag' __fish_brew_complete_arg '--cache' -l build-from-source -d 'Show the cache file used when building from source' __fish_brew_complete_arg '--cache' -l cask -d 'Only show cache files for casks' __fish_brew_complete_arg '--cache' -l debug -d 'Display any debugging information' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 1abb5c34aa..62654ac1ef 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -264,6 +264,7 @@ _brew___cache() { _arguments \ '(--build-from-source --force-bottle --bottle-tag --cask)--HEAD[Show the cache file used when building from HEAD]' \ '(--bottle-tag)--arch[Show cache file for the given CPU architecture.(Pass `all` to show cache files for all architectures.)]' \ + '(--build-from-source --force-bottle --HEAD --cask --os --arch)--bottle-tag[Show the cache file used when pouring a bottle for the given tag]' \ '(--force-bottle --bottle-tag --HEAD --cask)--build-from-source[Show the cache file used when building from source]' \ '--debug[Display any debugging information]' \ '(--build-from-source --bottle-tag --HEAD --cask)--force-bottle[Show the cache file used when pouring a bottle]' \ diff --git a/docs/Manpage.md b/docs/Manpage.md index d0de949190..ff1a38211d 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -856,6 +856,8 @@ If *`formula`* is provided, display the file or directory used to cache *`formul Show the cache file used when building from source. * `--force-bottle`: Show the cache file used when pouring a bottle. +* `--bottle-tag`: + Show the cache file used when pouring a bottle for the given tag. * `--HEAD`: Show the cache file used when building from HEAD. * `--formula`: diff --git a/manpages/brew.1 b/manpages/brew.1 index 4eb6009fda..10540bed32 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1211,6 +1211,10 @@ Show the cache file used when building from source\. Show the cache file used when pouring a bottle\. . .TP +\fB\-\-bottle\-tag\fR +Show the cache file used when pouring a bottle for the given tag\. +. +.TP \fB\-\-HEAD\fR Show the cache file used when building from HEAD\. .