From b8a4677de09082cb0e4850f38cfcb0201f0166ac Mon Sep 17 00:00:00 2001
From: Xu Cheng
Date: Wed, 23 Mar 2016 16:33:40 +0800
Subject: --repository: support to show tap path
This can become handy when we separate core code and formulae. For
example, we could use `cd $(brew --repo homebrew/core)` to go to core
tap path.
Closes Homebrew/homebrew#50346.
Signed-off-by: Xu Cheng
---
share/doc/homebrew/brew.1.html | 1 +
share/man/man1/brew.1 | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
(limited to 'share')
diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html
index 9e9a08c74..62a193745 100644
--- a/share/doc/homebrew/brew.1.html
+++ b/share/doc/homebrew/brew.1.html
@@ -389,6 +389,7 @@ without any sort of versioned directory as the last path.
--prefix formulaDisplay the location in the cellar where formula is or would be installed.
--repositoryDisplay where Homebrew's .git directory is located. For standard installs,
the prefix and repository are the same directory.
+--repository user/repoDisplay where tap user/repo's directory is located.
--versionPrint the version number of brew to standard error and exit.
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index facddcd53..4b259b1d7 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "BREW" "1" "January 2016" "Homebrew" "brew"
+.TH "BREW" "1" "March 2016" "Homebrew" "brew"
.
.SH "NAME"
\fBbrew\fR \- The missing package manager for OS X
@@ -566,6 +566,10 @@ Display the location in the cellar where \fIformula\fR is or would be installed\
Display where Homebrew\'s \fB\.git\fR directory is located\. For standard installs, the \fBprefix\fR and \fBrepository\fR are the same directory\.
.
.TP
+\fB\-\-repository\fR \fIuser\fR\fB/\fR\fIrepo\fR
+Display where tap \fIuser\fR\fB/\fR\fIrepo\fR\'s directory is located\.
+.
+.TP
\fB\-\-version\fR
Print the version number of brew to standard error and exit\.
.
--
cgit v1.2.3