Make sure extra options don't override Kemal defaults

This commit is contained in:
Omar Roth 2018-02-05 19:37:09 -06:00
parent e9ee41846c
commit 76c008d319

View file

@ -22,7 +22,7 @@ require "./helpers"
threads = 10
OptionParser.parse! do |parser|
Kemal.config.extra_options do |parser|
parser.banner = "Usage: invidious [arguments]"
parser.on("-t THREADS", "--threads=THREADS", "Number of threads for crawling (default: 10)") do |number|
begin