mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Update CLI wording
This commit is contained in:
parent
25c6fe78d9
commit
9de66e2a60
1 changed files with 3 additions and 3 deletions
|
@ -13,13 +13,13 @@ module Kemal
|
||||||
|
|
||||||
def parse
|
def parse
|
||||||
OptionParser.parse! do |opts|
|
OptionParser.parse! do |opts|
|
||||||
opts.on("-b HOST", "--bind HOST", "HTTP host to bind (defaults to 0.0.0.0)") do |host_binding|
|
opts.on("-b HOST", "--bind HOST", "Host to bind (defaults to 0.0.0.0)") do |host_binding|
|
||||||
@config.host_binding = host_binding
|
@config.host_binding = host_binding
|
||||||
end
|
end
|
||||||
opts.on("-p PORT", "--port PORT", "HTTP port to listen connections (defaults to 3000)") do |opt_port|
|
opts.on("-p PORT", "--port PORT", "Port to listen for connections (defaults to 3000)") do |opt_port|
|
||||||
@config.port = opt_port.to_i
|
@config.port = opt_port.to_i
|
||||||
end
|
end
|
||||||
opts.on("-e ENV", "--environment ENV", "Running environment [development, production] (defaults to development). Set `production` to boost performance") do |env|
|
opts.on("-e ENV", "--environment ENV", "Environment [development, production] (defaults to development). Set `production` to boost performance") do |env|
|
||||||
@config.env = env
|
@config.env = env
|
||||||
end
|
end
|
||||||
opts.on("-s", "--ssl", "Enables SSL") do
|
opts.on("-s", "--ssl", "Enables SSL") do
|
||||||
|
|
Loading…
Reference in a new issue