mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Make sure extra options don't override Kemal defaults
This commit is contained in:
parent
e9ee41846c
commit
76c008d319
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue