From 88085ce55b1c96b70c6119e358d4a578a52be02d Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 20 Mar 2023 15:56:11 +0000 Subject: [PATCH] Update manpage and completions. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- completions/bash/brew | 17 +++++++++++++++++ completions/fish/brew.fish | 7 +++++++ completions/internal_commands_list.txt | 1 + completions/zsh/_brew | 10 ++++++++++ docs/Manpage.md | 4 ++++ manpages/brew.1 | 3 +++ 6 files changed, 42 insertions(+) diff --git a/completions/bash/brew b/completions/bash/brew index 3a726aa6e238f..cad55301f8097 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -1619,6 +1619,22 @@ _brew_pin() { __brew_complete_installed_formulae } +_brew_postgresql_upgrade_database() { + local cur="${COMP_WORDS[COMP_CWORD]}" + case "${cur}" in + -*) + __brewcomp " + --debug + --help + --quiet + --verbose + " + return + ;; + *) ;; + esac +} + _brew_postinstall() { local cur="${COMP_WORDS[COMP_CWORD]}" case "${cur}" in @@ -2640,6 +2656,7 @@ _brew() { options) _brew_options ;; outdated) _brew_outdated ;; pin) _brew_pin ;; + postgresql-upgrade-database) _brew_postgresql_upgrade_database ;; postinstall) _brew_postinstall ;; pr-automerge) _brew_pr_automerge ;; pr-publish) _brew_pr_publish ;; diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 72c301449fce1..d2f9c719b2054 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -1122,6 +1122,13 @@ __fish_brew_complete_arg 'pin' -l verbose -d 'Make some output more verbose' __fish_brew_complete_arg 'pin' -a '(__fish_brew_suggest_formulae_installed)' +__fish_brew_complete_cmd 'postgresql-upgrade-database' 'Upgrades the database for the `postgresql` formula' +__fish_brew_complete_arg 'postgresql-upgrade-database' -l debug -d 'Display any debugging information' +__fish_brew_complete_arg 'postgresql-upgrade-database' -l help -d 'Show this message' +__fish_brew_complete_arg 'postgresql-upgrade-database' -l quiet -d 'Make some output more quiet' +__fish_brew_complete_arg 'postgresql-upgrade-database' -l verbose -d 'Make some output more verbose' + + __fish_brew_complete_cmd 'postinstall' 'Rerun the post-install steps for formula' __fish_brew_complete_arg 'postinstall' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'postinstall' -l help -d 'Show this message' diff --git a/completions/internal_commands_list.txt b/completions/internal_commands_list.txt index 15d6a01c08808..ce9b70c9c6f25 100644 --- a/completions/internal_commands_list.txt +++ b/completions/internal_commands_list.txt @@ -67,6 +67,7 @@ nodenv-sync options outdated pin +postgresql-upgrade-database postinstall pr-automerge pr-publish diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 35ef673113039..a0df0523926b3 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -188,6 +188,7 @@ __brew_internal_commands() { 'options:Show install options specific to formula' 'outdated:List installed casks and formulae that have an updated version available' 'pin:Pin the specified formula, preventing them from being upgraded when issuing the `brew upgrade` formula command' + 'postgresql-upgrade-database:Upgrades the database for the `postgresql` formula' 'postinstall:Rerun the post-install steps for formula' 'pr-automerge:Find pull requests that can be automatically merged using `brew pr-publish`' 'pr-publish:Publish bottles for a pull request with GitHub Actions' @@ -1375,6 +1376,15 @@ _brew_pin() { '*::installed_formula:__brew_installed_formulae' } +# brew postgresql-upgrade-database +_brew_postgresql_upgrade_database() { + _arguments \ + '--debug[Display any debugging information]' \ + '--help[Show this message]' \ + '--quiet[Make some output more quiet]' \ + '--verbose[Make some output more verbose]' +} + # brew postinstall _brew_postinstall() { _arguments \ diff --git a/docs/Manpage.md b/docs/Manpage.md index 9282187f04aba..6da9b531f4026 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -517,6 +517,10 @@ information is displayed in interactive shells, and suppressed otherwise. Pin the specified *`formula`*, preventing them from being upgraded when issuing the `brew upgrade` *`formula`* command. See also `unpin`. +### `postgresql-upgrade-database` + +Upgrades the database for the `postgresql` formula. + ### `postinstall` *`installed_formula`* [...] Rerun the post-install steps for *`formula`*. diff --git a/manpages/brew.1 b/manpages/brew.1 index d238f444f0921..ae9803b988498 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -719,6 +719,9 @@ Also include outdated casks including those with \fBauto_updates true\fR\. .SS "\fBpin\fR \fIinstalled_formula\fR [\.\.\.]" Pin the specified \fIformula\fR, preventing them from being upgraded when issuing the \fBbrew upgrade\fR \fIformula\fR command\. See also \fBunpin\fR\. . +.SS "\fBpostgresql\-upgrade\-database\fR" +Upgrades the database for the \fBpostgresql\fR formula\. +. .SS "\fBpostinstall\fR \fIinstalled_formula\fR [\.\.\.]" Rerun the post\-install steps for \fIformula\fR\. .