renamed where to formula
This commit is contained in:
parent
ae829ed229
commit
ac091437e5
@ -15,7 +15,7 @@ Troubleshooting:
|
||||
|
||||
Developers:
|
||||
brew create [URL [--no-fetch]]
|
||||
brew (where|edit) [FORMULA...]
|
||||
brew (formula|edit) [FORMULA...]
|
||||
http://docs.brew.sh/Formula-Cookbook.html
|
||||
|
||||
Further help:
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#: * `where` <formulae>:
|
||||
#: * `formula` <formulae>:
|
||||
#: echo location of the specified <formulae> to stdout
|
||||
|
||||
require "formula"
|
||||
@ -6,7 +6,7 @@ require "formula"
|
||||
module Homebrew
|
||||
module_function
|
||||
|
||||
def where
|
||||
def formula
|
||||
raise FormulaUnspecifiedError if ARGV.named.empty?
|
||||
ARGV.resolved_formulae.each do |f|
|
||||
puts "#{f.path}\n"
|
||||
@ -88,6 +88,7 @@ __brew_common_commands() {
|
||||
'doctor:audits your installation for common issues'
|
||||
'edit:edit a formula'
|
||||
'fetch:download formula resources to the cache'
|
||||
'formula:location of formulae'
|
||||
'gist-logs:generate a gist of the full build logs'
|
||||
'home:visit the homepage of a formula or the brew project'
|
||||
'info:information about a formula'
|
||||
@ -120,7 +121,6 @@ __brew_common_commands() {
|
||||
'update:fetch latest version of Homebrew and all formulae'
|
||||
'upgrade:upgrade outdated formulae'
|
||||
'uses:show formulae which depend on a formula'
|
||||
'where:location of formulae'
|
||||
'--cellar:brew cellar'
|
||||
'--env:brew environment'
|
||||
'--repository:brew repository'
|
||||
|
||||
@ -537,6 +537,7 @@ you to explicitly set the name and version of the package you are creating.</p>
|
||||
the specified tap.</p></dd>
|
||||
<dt class="flush"><code>edit</code></dt><dd><p>Open all of Homebrew for editing.</p></dd>
|
||||
<dt><code>edit</code> <var>formula</var></dt><dd><p>Open <var>formula</var> in the editor.</p></dd>
|
||||
<dt><code>formula</code> <var>formulae</var></dt><dd><p>echo location of the specified <var>formulae</var> to stdout</p></dd>
|
||||
<dt><code>linkage</code> [<code>--test</code>] [<code>--reverse</code>] <var>formula-name</var></dt><dd><p>Checks the library links of an installed formula.</p>
|
||||
|
||||
<p>Only works on installed formulae. An error is raised if it is run on
|
||||
@ -625,7 +626,6 @@ between tags.</p>
|
||||
|
||||
<p>If <code>--keep-tmp</code> is passed, retain the temporary directory containing
|
||||
the new repository clone.</p></dd>
|
||||
<dt><code>where</code> <var>formulae</var></dt><dd><p>echo location of the specified <var>formulae</var> to stdout</p></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
@ -728,6 +728,10 @@ Open all of Homebrew for editing\.
|
||||
Open \fIformula\fR in the editor\.
|
||||
.
|
||||
.TP
|
||||
\fBformula\fR \fIformulae\fR
|
||||
echo location of the specified \fIformulae\fR to stdout
|
||||
.
|
||||
.TP
|
||||
\fBlinkage\fR [\fB\-\-test\fR] [\fB\-\-reverse\fR] \fIformula\-name\fR
|
||||
Checks the library links of an installed formula\.
|
||||
.
|
||||
@ -823,10 +827,6 @@ If \fB\-\-to\-tag\fR is passed, set HOMEBREW_UPDATE_TO_TAG to test updating betw
|
||||
.IP
|
||||
If \fB\-\-keep\-tmp\fR is passed, retain the temporary directory containing the new repository clone\.
|
||||
.
|
||||
.TP
|
||||
\fBwhere\fR \fIformulae\fR
|
||||
echo location of the specified \fIformulae\fR to stdout
|
||||
.
|
||||
.SH "OFFICIAL EXTERNAL COMMANDS"
|
||||
.
|
||||
.TP
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user