Skip to content

Commit

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

Update manpage and completions.
  • Loading branch information
ZhongRuoyu authored Jan 5, 2025
2 parents 683f85f + 9260c96 commit 7ebf47a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
2 changes: 2 additions & 0 deletions completions/bash/brew
Original file line number Diff line number Diff line change
Expand Up @@ -1460,6 +1460,7 @@ _brew_lc() {
case "${cur}" in
-*)
__brewcomp "
--autobump
--cask
--debug
--eval-all
Expand Down Expand Up @@ -1580,6 +1581,7 @@ _brew_livecheck() {
case "${cur}" in
-*)
__brewcomp "
--autobump
--cask
--debug
--eval-all
Expand Down
2 changes: 2 additions & 0 deletions completions/fish/brew.fish
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,7 @@ __fish_brew_complete_arg 'irb' -l verbose -d 'Make some output more verbose'


__fish_brew_complete_cmd 'lc' 'Check for newer versions of formulae and/or casks from upstream'
__fish_brew_complete_arg 'lc' -l autobump -d 'Include packages that are autobumped by BrewTestBot. By default these are skipped'
__fish_brew_complete_arg 'lc' -l cask -d 'Only check casks'
__fish_brew_complete_arg 'lc' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'lc' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to check them'
Expand Down Expand Up @@ -1069,6 +1070,7 @@ __fish_brew_complete_arg 'list; and not __fish_seen_argument -l formula -l formu


__fish_brew_complete_cmd 'livecheck' 'Check for newer versions of formulae and/or casks from upstream'
__fish_brew_complete_arg 'livecheck' -l autobump -d 'Include packages that are autobumped by BrewTestBot. By default these are skipped'
__fish_brew_complete_arg 'livecheck' -l cask -d 'Only check casks'
__fish_brew_complete_arg 'livecheck' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'livecheck' -l eval-all -d 'Evaluate all available formulae and casks, whether installed or not, to check them'
Expand Down
2 changes: 2 additions & 0 deletions completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,7 @@ _brew_irb() {
# brew lc
_brew_lc() {
_arguments \
'--autobump[Include packages that are autobumped by BrewTestBot. By default these are skipped]' \
'(--json)--debug[Display any debugging information]' \
'(--tap --installed)--eval-all[Evaluate all available formulae and casks, whether installed or not, to check them]' \
'(--formula)--extract-plist[Enable checking multiple casks with ExtractPlist strategy]' \
Expand Down Expand Up @@ -1332,6 +1333,7 @@ _brew_list() {
# brew livecheck
_brew_livecheck() {
_arguments \
'--autobump[Include packages that are autobumped by BrewTestBot. By default these are skipped]' \
'(--json)--debug[Display any debugging information]' \
'(--tap --installed)--eval-all[Evaluate all available formulae and casks, whether installed or not, to check them]' \
'(--formula)--extract-plist[Enable checking multiple casks with ExtractPlist strategy]' \
Expand Down
10 changes: 10 additions & 0 deletions docs/Manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2385,6 +2385,11 @@ from `HOMEBREW_LIVECHECK_WATCHLIST` or `~/.homebrew/livecheck_watchlist.txt`.

: Enable checking multiple casks with ExtractPlist strategy.

`--autobump`

: Include packages that are autobumped by BrewTestBot. By default these are
skipped.

### `pr-automerge` \[*`options`*\]

Find pull requests that can be automatically merged using `brew pr-publish`.
Expand Down Expand Up @@ -3913,6 +3918,11 @@ command execution e.g. `$(cat file)`.

*Default:* The "Beer Mug" emoji.

`HOMEBREW_LIVECHECK_AUTOBUMP`

: If set, `brew livecheck` will include data for packages that are autobumped by
BrewTestBot.

`HOMEBREW_LIVECHECK_WATCHLIST`

: Consult this file for the list of formulae to check by default when no formula
Expand Down
8 changes: 7 additions & 1 deletion manpages/brew.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" generated by kramdown
.TH "BREW" "1" "December 2024" "Homebrew"
.TH "BREW" "1" "January 2025" "Homebrew"
.SH NAME
brew \- The Missing Package Manager for macOS (or Linux)
.SH "SYNOPSIS"
Expand Down Expand Up @@ -1519,6 +1519,9 @@ Only check casks\.
.TP
\fB\-\-extract\-plist\fP
Enable checking multiple casks with ExtractPlist strategy\.
.TP
\fB\-\-autobump\fP
Include packages that are autobumped by BrewTestBot\. By default these are skipped\.
.SS "\fBpr\-automerge\fP \fR[\fIoptions\fP]"
Find pull requests that can be automatically merged using \fBbrew pr\-publish\fP\&\.
.TP
Expand Down Expand Up @@ -2556,6 +2559,9 @@ Print this text before the installation summary of each successful build\.
\fIDefault:\fP The \[u201c]Beer Mug\[u201d] emoji\.
.RE
.TP
\fBHOMEBREW_LIVECHECK_AUTOBUMP\fP
If set, \fBbrew livecheck\fP will include data for packages that are autobumped by BrewTestBot\.
.TP
\fBHOMEBREW_LIVECHECK_WATCHLIST\fP
Consult this file for the list of formulae to check by default when no formula argument is passed to \fBbrew livecheck\fP\&\.
.RS
Expand Down

0 comments on commit 7ebf47a

Please sign in to comment.