Merge pull request #15658 from Homebrew/sponsors-maintainers-man-completions

Update manpage and completions.
This commit is contained in:
Nanda H Krishna 2023-07-10 14:39:57 -04:00 committed by GitHub
commit b0d38633c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 0 deletions

View File

@ -126,6 +126,7 @@ _brew___cache() {
__brewcomp "
--HEAD
--arch
--bottle-tag
--build-from-source
--cask
--debug

View File

@ -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'

View File

@ -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]' \

View File

@ -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`:

View File

@ -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\.
.