diff options
| author | Timothee Cour | 2017-02-08 00:12:50 -0800 |
|---|---|---|
| committer | Timothee Cour | 2017-02-11 16:38:06 -0800 |
| commit | ac091437e5b2ae8ca21058cf47184f1788c8d697 (patch) | |
| tree | 361f0afd2041ea7f4a026af68713715cc77c3e63 /Library | |
| parent | ae829ed229395159adf6f1f17fb26518ec27fca6 (diff) | |
| download | brew-ac091437e5b2ae8ca21058cf47184f1788c8d697.tar.bz2 | |
renamed where to formula
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/help.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/dev-cmd/formula.rb (renamed from Library/Homebrew/dev-cmd/where.rb) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/help.rb b/Library/Homebrew/cmd/help.rb index 70379314e..669f92ddd 100644 --- a/Library/Homebrew/cmd/help.rb +++ b/Library/Homebrew/cmd/help.rb @@ -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: diff --git a/Library/Homebrew/dev-cmd/where.rb b/Library/Homebrew/dev-cmd/formula.rb index 63237301b..80008a354 100644 --- a/Library/Homebrew/dev-cmd/where.rb +++ b/Library/Homebrew/dev-cmd/formula.rb @@ -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" |
