diff options
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" |
