Skip to content

Invidious is an alternative front-end to YouTube

Fix param conflict

Omar Rothdf228c82deea
diff --git a/src/invidious.cr b/src/invidious.cr
index 1ea80eba..34c88ca8 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -26,7 +26,7 @@ yt_wait = 1.0
Kemal.config.extra_options do |parser|
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
yt_pool_size = number.to_i
rescue ex