extract: accept tap as a non-flagged argument

This commit is contained in:
Caleb Xu 2018-08-21 10:13:07 -04:00
parent 6018968f91
commit 0552dcff62

View File

@ -1,8 +1,7 @@
#: * `extract` [`--force`] <formula> `--tap=`<tap> [`--version=`<version>]:
#: * `extract` [`--force`] <formula> <tap> [`--version=`<version>]:
#: Looks through repository history to find the <version> of <formula> and
#: creates a copy in <tap>/Formula/<formula>@<version>.rb. If the tap is
#: not installed yet, attempts to install/clone the tap before continuing.
#: A tap must be passed through `--tap` in order for `extract` to work.
#:
#: If `--force` is passed, the file at the destination will be overwritten
#: if it already exists. Otherwise, existing files will be preserved.