From 9de66e2a602a606e29453fbed2d9a6c4097c5a78 Mon Sep 17 00:00:00 2001 From: Sdogruyol Date: Wed, 10 Feb 2016 21:58:32 +0200 Subject: [PATCH] Update CLI wording --- src/kemal/cli.cr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kemal/cli.cr b/src/kemal/cli.cr index d9bd095..d074f09 100644 --- a/src/kemal/cli.cr +++ b/src/kemal/cli.cr @@ -13,13 +13,13 @@ module Kemal def parse 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 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 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 end opts.on("-s", "--ssl", "Enables SSL") do