diff --git a/Library/Homebrew/cmd/--repository.rb b/Library/Homebrew/cmd/--repository.rb index 4ae25e5983..39eb60fe94 100644 --- a/Library/Homebrew/cmd/--repository.rb +++ b/Library/Homebrew/cmd/--repository.rb @@ -6,7 +6,7 @@ module Homebrew def __repository_args Homebrew::CLI::Parser.new do usage_banner <<~EOS - `--repository` [] + `--repository` [`/`] Display where Homebrew's `.git` directory is located. diff --git a/docs/Manpage.md b/docs/Manpage.md index 067dc132a3..f41fc7025b 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -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. diff --git a/manpages/brew.1 b/manpages/brew.1 index 7eeaa55cdc..c98b8b6f0f 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -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