From 9fc3794ea17a51f95aa1b0fe4cd7bfebdd141bf8 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 24 Aug 2021 12:45:34 +0000 Subject: [PATCH] Update maintainers, manpage and completions. Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow. --- completions/bash/brew | 1 + completions/fish/brew.fish | 1 + completions/zsh/_brew | 7 ++++--- docs/Manpage.md | 2 ++ manpages/brew.1 | 4 ++++ 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/completions/bash/brew b/completions/bash/brew index 46e2525846..8d2e13982f 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -124,6 +124,7 @@ _brew___cache() { case "${cur}" in -*) __brewcomp " + --HEAD --build-from-source --cask --debug diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index dfb938fe90..4fb3814382 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -200,6 +200,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 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 0d52f0b72a..fa18b7298a 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -252,9 +252,10 @@ __brew_diagnostic_checks() { # brew --cache _brew___cache() { _arguments \ - '(--force-bottle --cask)--build-from-source[Show the cache file used when building from source]' \ + '(--build-from-source --force-bottle --cask)--HEAD[Show the cache file used when building from HEAD]' \ + '(--force-bottle --HEAD --cask)--build-from-source[Show the cache file used when building from source]' \ '--debug[Display any debugging information]' \ - '(--build-from-source --cask)--force-bottle[Show the cache file used when pouring a bottle]' \ + '(--build-from-source --HEAD --cask)--force-bottle[Show the cache file used when pouring a bottle]' \ '--help[Show this message]' \ '--quiet[Make some output more quiet]' \ '--verbose[Make some output more verbose]' \ @@ -262,7 +263,7 @@ _brew___cache() { '(--cask)--formula[Only show cache files for formulae]' \ '*::formula:__brew_formulae' \ - cask \ - '(--build-from-source --force-bottle --formula)--cask[Only show cache files for casks]' \ + '(--build-from-source --force-bottle --HEAD --formula)--cask[Only show cache files for casks]' \ '*::cask:__brew_casks' } diff --git a/docs/Manpage.md b/docs/Manpage.md index 3b1800dbbe..12b9f20c17 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -747,6 +747,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. +* `--HEAD`: + Show the cache file used when building from HEAD. * `--formula`: Only show cache files for formulae. * `--cask`: diff --git a/manpages/brew.1 b/manpages/brew.1 index ff3866b675..3586e59ecf 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1037,6 +1037,10 @@ Show the cache file used when building from source\. Show the cache file used when pouring a bottle\. . .TP +\fB\-\-HEAD\fR +Show the cache file used when building from HEAD\. +. +.TP \fB\-\-formula\fR Only show cache files for formulae\. .