diff options
Diffstat (limited to 'Library/brew.rb')
| -rw-r--r-- | Library/brew.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/brew.rb b/Library/brew.rb index eb4fe0606..222b432ac 100644 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -118,8 +118,8 @@ rescue FormulaUnspecifiedError rescue KegUnspecifiedError abort "This command requires a keg argument" rescue UsageError - onoe "Invalid usage" - abort ARGV.usage + require "cmd/help" + Homebrew.help cmd, :usage_error => "Invalid usage" rescue SystemExit => e onoe "Kernel.exit" if ARGV.verbose? && !e.success? $stderr.puts e.backtrace if ARGV.debug? |
