Skip to content

Commit

Permalink
Merge pull request #15658 from Homebrew/sponsors-maintainers-man-comp…
Browse files Browse the repository at this point in the history
…letions

Update manpage and completions.
  • Loading branch information
nandahkrishna authored Jul 10, 2023
2 parents 88e39d5 + 9ba1e5e commit b0d3863
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
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ _brew___cache() {
__brewcomp "
--HEAD
--arch
--bottle-tag
--build-from-source
--cask
--debug
Expand Down
1 change: 1 addition & 0 deletions completions/fish/brew.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -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]' \
Expand Down
2 changes: 2 additions & 0 deletions docs/Manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down
4 changes: 4 additions & 0 deletions manpages/brew.1
Original file line number Diff line number Diff line change
Expand Up @@ -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\.
.
Expand Down

0 comments on commit b0d3863

Please sign in to comment.