summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-02-05 19:08:36 -0600
committerOmar Roth <omarroth@hotmail.com>2018-02-05 19:08:36 -0600
commitc8d2d122824b233e40423f7217772bab1f21c8dc (patch)
treeb263287ab705045e8f2abccc12489a04c375fa9f /src
parentfb80d2f484ca78f8dfccf8a8bc8b03637f9495a3 (diff)
downloadinvidious-c8d2d122824b233e40423f7217772bab1f21c8dc.tar.gz
invidious-c8d2d122824b233e40423f7217772bab1f21c8dc.tar.bz2
invidious-c8d2d122824b233e40423f7217772bab1f21c8dc.zip
Add default number of threads
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr2
1 files changed, 1 insertions, 1 deletions
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