diff options
| author | aereal | 2014-01-12 00:20:33 +0900 |
|---|---|---|
| committer | Jack Nagel | 2014-01-26 17:33:12 -0600 |
| commit | b7ea24b766250ca0de422a8263d3540aac1a073e (patch) | |
| tree | 1c55220d29b6e5f2a1cdce5c76d67dd614f5deef /Library | |
| parent | ac8af618bddf520e61ef30ce7235d6d6cfdcaa27 (diff) | |
| download | homebrew-b7ea24b766250ca0de422a8263d3540aac1a073e.tar.bz2 | |
Make `brew tap` error message more clear
Closes #25813.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/tap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index c2dbd0f9d..58132faca 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -110,7 +110,7 @@ module Homebrew extend self def tap_args ARGV.first =~ %r{^(\S+)/(homebrew-)?(\w+)$} - raise "Invalid usage" unless $1 and $3 + raise "Invalid tap name" unless $1 && $3 [$1, $3] end |
