summaryrefslogtreecommitdiff
path: root/lib/optparse/uri.rb
blob: 024dc69eac4bae540a1efdbabc39c2677421f73e (plain)
1
2
3
4
5
6
# -*- ruby -*-

require 'optparse'
require 'uri'

OptionParser.accept(URI) {|s,| URI.parse(s) if s}