aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorSteven Peters2013-12-16 16:37:59 -0800
committerJack Nagel2013-12-19 16:43:42 -0600
commit6404085835b09c327b081751e2cb86137781aba5 (patch)
treeaf5330fa0eca828b0ef2881b0d7b03ad11531a39 /share
parente102683c4c788ce4976ca55f2d78eda55f685cc1 (diff)
downloadhomebrew-6404085835b09c327b081751e2cb86137781aba5.tar.bz2
install: add --only-dependencies option
The traditional approach to installing the dependencies of a formula is the following: brew install `brew deps formula` This approach ignores any options that are specified in the parent formula. This pull request adds a --only-dependencies option to brew install that installs the dependencies of a formula with optional flags, but returns before installing the parent formula. Closes #25272. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/brew.17
1 files changed, 5 insertions, 2 deletions
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 89a73baac..11c6e5b67 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" "November 2013" "Homebrew" "brew"
+.TH "BREW" "1" "December 2013" "Homebrew" "brew"
.
.SH "NAME"
\fBbrew\fR \- The missing package manager for OS X
@@ -174,7 +174,7 @@ To view formula history locally: \fBbrew log \-p <formula>\fR\.
Print the name and version that will be detected for \fIURL\fR\.
.
.TP
-\fBinstall [\-\-debug] [\-\-env=<std|super>] [\-\-ignore\-dependencies] [\-\-fresh] [\-\-cc=<compiler>] [\-\-build\-from\-source] [\-\-devel|\-\-HEAD]\fR \fIformula\fR
+\fBinstall [\-\-debug] [\-\-env=<std|super>] [\-\-ignore\-dependencies] [\-\-only\-dependencies] [\-\-fresh] [\-\-cc=<compiler>] [\-\-build\-from\-source] [\-\-devel|\-\-HEAD]\fR \fIformula\fR
Install \fIformula\fR\.
.
.IP
@@ -193,6 +193,9 @@ If \fB\-\-env=super\fR is passed, use superenv even if the formula specifies the
If \fB\-\-ignore\-dependencies\fR is passed, skip installing any dependencies of any kind\. If they are not already present, the formula will probably fail to install\.
.
.IP
+If \fB\-\-only\-dependencies\fR is passed, install the dependencies with specified options but do not install the specified formula\.
+.
+.IP
If \fB\-\-fresh\fR is passed, the installation process will not re\-use any options from previous installs\.
.
.IP