Skip to content

Commit

Permalink
Merge pull request #17598 from Homebrew/sponsors-maintainers-man-comp…
Browse files Browse the repository at this point in the history
…letions
  • Loading branch information
carlocab authored Jun 30, 2024
2 parents ab2b3d5 + 60c42e8 commit 88d0609
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions completions/bash/brew
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,7 @@ _brew_extract() {
__brewcomp "
--debug
--force
--git-revision
--help
--quiet
--verbose
Expand Down
1 change: 1 addition & 0 deletions completions/fish/brew.fish
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ __fish_brew_complete_arg 'environment' -a '(__fish_brew_suggest_formulae_all)'
__fish_brew_complete_cmd 'extract' 'Look through repository history to find the most recent version of formula and create a copy in tap'
__fish_brew_complete_arg 'extract' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'extract' -l force -d 'Overwrite the destination formula if it already exists'
__fish_brew_complete_arg 'extract' -l git-revision -d 'Search for the specified version of formula starting at revision instead of HEAD'
__fish_brew_complete_arg 'extract' -l help -d 'Show this message'
__fish_brew_complete_arg 'extract' -l quiet -d 'Make some output more quiet'
__fish_brew_complete_arg 'extract' -l verbose -d 'Make some output more verbose'
Expand Down
1 change: 1 addition & 0 deletions completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ _brew_extract() {
_arguments \
'--debug[Display any debugging information]' \
'--force[Overwrite the destination formula if it already exists]' \
'--git-revision[Search for the specified version of formula starting at revision instead of HEAD]' \
'--help[Show this message]' \
'--quiet[Make some output more quiet]' \
'--verbose[Make some output more verbose]' \
Expand Down
5 changes: 5 additions & 0 deletions docs/Manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2188,6 +2188,11 @@ not installed yet, attempt to install/clone the tap before continuing. To
extract a formula from a tap that is not `homebrew/core` use its fully-qualified
form of *`user`*`/`*`repo`*`/`*`formula`*.

`--git-revision`

: Search for the specified *`version`* of *`formula`* starting at *`revision`*
instead of HEAD.

`--version`

: Extract the specified *`version`* of *`formula`* instead of the most recent.
Expand Down
3 changes: 3 additions & 0 deletions manpages/brew.1
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,9 @@ Print the file path to be edited, without opening an editor\.
.SS "\fBextract\fP \fR[\fB\-\-version=\fP] \fR[\fB\-\-force\fP] \fIformula\fP \fItap\fP"
Look through repository history to find the most recent version of \fIformula\fP and create a copy in \fItap\fP\&\. Specifically, the command will create the new formula file at \fItap\fP\fB/Formula/\fP\fIformula\fP\fB@\fP\fIversion\fP\fB\&\.rb\fP\&\. If the tap is not installed yet, attempt to install/clone the tap before continuing\. To extract a formula from a tap that is not \fBhomebrew/core\fP use its fully\-qualified form of \fIuser\fP\fB/\fP\fIrepo\fP\fB/\fP\fIformula\fP\&\.
.TP
\fB\-\-git\-revision\fP
Search for the specified \fIversion\fP of \fIformula\fP starting at \fIrevision\fP instead of HEAD\.
.TP
\fB\-\-version\fP
Extract the specified \fIversion\fP of \fIformula\fP instead of the most recent\.
.TP
Expand Down

0 comments on commit 88d0609

Please sign in to comment.