mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix param conflict
This commit is contained in:
parent
be6ced202c
commit
df228c82de
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ yt_wait = 1.0
|
||||||
|
|
||||||
Kemal.config.extra_options do |parser|
|
Kemal.config.extra_options do |parser|
|
||||||
parser.banner = "Usage: invidious [arguments]"
|
parser.banner = "Usage: invidious [arguments]"
|
||||||
parser.on("-p SIZE", "--youtube-pool=SIZE", "Number of clients in youtube pool (default: #{yt_pool_size})") do |number|
|
parser.on("-s SIZE", "--youtube-pool=SIZE", "Number of clients in youtube pool (default: #{yt_pool_size})") do |number|
|
||||||
begin
|
begin
|
||||||
yt_pool_size = number.to_i
|
yt_pool_size = number.to_i
|
||||||
rescue ex
|
rescue ex
|
||||||
|
|
Loading…
Reference in a new issue