diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 0c5dd4f485..b71c079f23 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -671,7 +671,7 @@ __fish_brew_complete_arg 'formula' -l verbose -d 'Make some output more verbose' __fish_brew_complete_arg 'formula' -a '(__fish_brew_suggest_formulae_all)' -__fish_brew_complete_cmd 'generate-man-completions' 'Generate Homebrew\'s manpages' +__fish_brew_complete_cmd 'generate-man-completions' 'Generate Homebrew\'s manpages and shell completions' __fish_brew_complete_arg 'generate-man-completions' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'generate-man-completions' -l fail-if-not-changed -d 'Return a failing status code if no changes are detected in the manpage outputs. This can be used to notify CI when the manpages are out of date. Additionally, the date used in new manpages will match those in the existing manpages (to allow comparison without factoring in the date)' __fish_brew_complete_arg 'generate-man-completions' -l help -d 'Show this message' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 4c45810c91..fe36e5cc0e 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -162,7 +162,7 @@ __brew_internal_commands() { 'fetch:Download a bottle (if available) or source packages for formulae and binaries for casks' 'formula:Display the path where formula is located' 'formulae:List all locally installable formulae including short names' - 'generate-man-completions:Generate Homebrew'\''s manpages' + 'generate-man-completions:Generate Homebrew'\''s manpages and shell completions' 'gist-logs:Upload logs for a failed build of formula to a new Gist' 'home:Open a formula or cask'\''s homepage in a browser, or open Homebrew'\''s own homepage if no argument is provided' 'info:Display brief statistics for your Homebrew installation' diff --git a/docs/Manpage.md b/docs/Manpage.md index 72c9c675d5..a340e167fb 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1061,7 +1061,7 @@ Display the path where *`formula`* is located. ### `generate-man-completions` [*`--fail-if-not-changed`*] -Generate Homebrew's manpages. +Generate Homebrew's manpages and shell completions. * `--fail-if-not-changed`: Return a failing status code if no changes are detected in the manpage outputs. This can be used to notify CI when the manpages are out of date. Additionally, the date used in new manpages will match those in the existing manpages (to allow comparison without factoring in the date). diff --git a/manpages/brew.1 b/manpages/brew.1 index 0ab308e46d..003aa3fb95 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1481,7 +1481,7 @@ Overwrite the destination formula if it already exists\. Display the path where \fIformula\fR is located\. . .SS "\fBgenerate\-man\-completions\fR [\fI\-\-fail\-if\-not\-changed\fR]" -Generate Homebrew\'s manpages\. +Generate Homebrew\'s manpages and shell completions\. . .TP \fB\-\-fail\-if\-not\-changed\fR