cmd/repository: Fix man pages and help

This commit is contained in:
Harry Mallon 2019-02-06 17:53:15 +00:00
parent e32c151543
commit f20319a516
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ module Homebrew
def __repository_args def __repository_args
Homebrew::CLI::Parser.new do Homebrew::CLI::Parser.new do
usage_banner <<~EOS usage_banner <<~EOS
`--repository` [<formula>] `--repository` [<user>`/`<repo>]
Display where Homebrew's `.git` directory is located. 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`* If *`formula`* is provided, display the location in the cellar where *`formula`*
is or would be installed. is or would be installed.
### `--repository` [*`formula`*] ### `--repository` [*`user`*`/`*`repo`*]
Display where Homebrew's `.git` directory is located. 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 .P
If \fIformula\fR is provided, display the location in the cellar where \fIformula\fR is or would be installed\. 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\. Display where Homebrew\'s \fB\.git\fR directory is located\.
. .
.P .P