aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authoraereal2014-01-12 00:20:33 +0900
committerJack Nagel2014-01-26 17:33:12 -0600
commitb7ea24b766250ca0de422a8263d3540aac1a073e (patch)
tree1c55220d29b6e5f2a1cdce5c76d67dd614f5deef /Library
parentac8af618bddf520e61ef30ce7235d6d6cfdcaa27 (diff)
downloadhomebrew-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.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