This commit is contained in:
sdogruyol 2018-12-19 22:54:07 +03:00
parent 678adaa375
commit 2ee9433bd9

View file

@ -3,7 +3,7 @@ require "option_parser"
module Kemal
# Handles all the initialization from the command line.
class CLI
def initialize(args, @config : Config = Kemal.config)
def initialize(args = ARGV, @config : Config = Kemal.config)
@ssl_enabled = false
@key_file = ""
@cert_file = ""