summaryrefslogtreecommitdiff
path: root/lib/optparse/uri.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/optparse/uri.rb')
-rw-r--r--lib/optparse/uri.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse/uri.rb b/lib/optparse/uri.rb
index 5bdcf57..024dc69 100644
--- a/lib/optparse/uri.rb
+++ b/lib/optparse/uri.rb
@@ -3,4 +3,4 @@
require 'optparse'
require 'uri'
-OptionParser.accept(URI) {|s| URI.parse(s) if s}
+OptionParser.accept(URI) {|s,| URI.parse(s) if s}