From c8d2d122824b233e40423f7217772bab1f21c8dc Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 5 Feb 2018 19:08:36 -0600 Subject: [PATCH] Add default number of threads --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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