diff --git a/bin/gollum b/bin/gollum index 4e257208..2ee57861 100755 --- a/bin/gollum +++ b/bin/gollum @@ -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