Merge remote branch 'etaque/sinatra-options'

This commit is contained in:
Tom Preston-Werner
2010-09-29 13:56:03 -07:00
+4
View File
@@ -26,6 +26,10 @@ opts = OptionParser.new do |opts|
options['port'] = port.to_i
end
opts.on("--bind [HOST]", "Hostname or IP address to listen on (default 0.0.0.0).") do |host|
options['bind'] = host
end
opts.on("--version", "Display current version.") do
puts "Gollum " + Gollum::VERSION
exit 0