Merge pull request #5684 from hjmallon/repo-man

cmd/repository: Fix man pages and help
This commit is contained in:
Mike McQuaid 2019-02-11 13:52:47 +00:00 committed by GitHub
commit 1fd8b387c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ module Homebrew
def __repository_args
Homebrew::CLI::Parser.new do
usage_banner <<~EOS
`--repository` [<formula>]
`--repository` [<user>`/`<repo>]
Display where Homebrew's `.git` directory is located.

View File

@ -624,7 +624,7 @@ Display Homebrew's install path. *Default:* `/usr/local` on macOS and
If *`formula`* is provided, display the location in the cellar where *`formula`*
is or would be installed.
### `--repository` [*`formula`*]
### `--repository` [*`user`*`/`*`repo`*]
Display where Homebrew's `.git` directory is located.

View File

@ -766,7 +766,7 @@ Display Homebrew\'s install path\. \fIDefault:\fR \fB/usr/local\fR on macOS and
.P
If \fIformula\fR is provided, display the location in the cellar where \fIformula\fR is or would be installed\.
.
.SS "\fB\-\-repository\fR [\fIformula\fR]"
.SS "\fB\-\-repository\fR [\fIuser\fR\fB/\fR\fIrepo\fR]"
Display where Homebrew\'s \fB\.git\fR directory is located\.
.
.P