5 BasicSocket
.do_not_reverse_lookup
= true
7 :server => 'webrick', # webrick is standard, and plenty fast enough
9 OptionParser
.new
{ |op
|
10 op
.on('-s <mongrel|thin|webrick>') { |v
| opts
[:server] = v
}
11 op
.on('-p port') { |val
| opts
[:port] = val
.to_i
}
12 op
.on('-o addr') { |val
| opts
[:bind] = val
}
13 op
.on('-h', '--help', 'Show this message') do
19 LocalOpenID
.run
!(opts
)