diff --git a/docs/Manpage.md b/docs/Manpage.md index 74293e216b281..96e1ecf42e6d0 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -2179,7 +2179,7 @@ provided. : Print the file path to be edited, without opening an editor. -### `extract` \[`--version=`\] \[`--force`\] *`formula`* *`tap`* +### `extract` \[`--version=`\] \[`--git-revision=`\] \[`--force`\] *`formula`* *`tap`* Look through repository history to find the most recent version of *`formula`* and create a copy in *`tap`*. Specifically, the command will create the new diff --git a/manpages/brew.1 b/manpages/brew.1 index 97732de340c85..bf9ed88ec9e56 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1386,7 +1386,7 @@ Treat all named arguments as casks\. .TP \fB\-\-print\-path\fP 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" +.SS "\fBextract\fP \fR[\fB\-\-version=\fP] \fR[\fB\-\-git\-revision=\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