From df228c82deea6bd666c5dd18954d8c5ad01569b5 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 4 Mar 2018 11:37:12 -0600 Subject: [PATCH] Fix param conflict --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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