Skip to content

Invidious is an alternative front-end to YouTube

Add default number of threads

Omar Rothc8d2d122824b
diff --git a/src/invidious.cr b/src/invidious.cr
index 8573d2a5..9bb00180 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -24,7 +24,7 @@ threads = 10
OptionParser.parse! do |parser|
parser.banner = "Usage: invidious [arguments]"
- parser.on("-t THREADS", "--threads=THREADS", "Number of threads for crawling") do |number|
+ parser.on("-t THREADS", "--threads=THREADS", "Number of threads for crawling (default: 10)") do |number|
begin
threads = number.to_i32
rescue ex