aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-12-25 18:25:01 +0000
committerMike McQuaid2015-12-25 18:25:01 +0000
commit75ae0cfb3a84c607589db95331c221484127f128 (patch)
tree1b1dcfcff62fd0c4745c74d9962cfd67e44f508a /Library
parent86bd9c9f39fbe4aa88791f3973d41b26ac37e036 (diff)
downloadbrew-75ae0cfb3a84c607589db95331c221484127f128.tar.bz2
tap: don't backtrace on invalid options.
Closes Homebrew/homebrew#47162.
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 5c1ff089c..60e789557 100644
--- a/Library/Homebrew/cmd/tap.rb
+++ b/Library/Homebrew/cmd/tap.rb
@@ -14,7 +14,7 @@ module Homebrew
elsif ARGV.first == "--list-pinned"
puts Tap.select(&:pinned?).map(&:name)
else
- tap = Tap.fetch(ARGV.named[0])
+ tap = Tap.fetch(ARGV[0])
begin
tap.install(:clone_target => ARGV.named[1],
:full_clone => ARGV.include?("--full"))