aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authoraereal2014-01-12 00:20:33 +0900
committerJack Nagel2014-01-26 17:33:12 -0600
commit91524a384d6fbcb2bd47c3daf44421e0c0a55710 (patch)
treea8bc9871848dd5d6b36ff00461a8174349cf66d7 /Library
parentee76cf75aff0aa9f55927b60be1a3c7220332cf0 (diff)
downloadbrew-91524a384d6fbcb2bd47c3daf44421e0c0a55710.tar.bz2
Make `brew tap` error message more clear
Closes Homebrew/homebrew#25813. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/tap.rb2
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