summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-03 18:23:39 -0600
committerOmar Roth <omarroth@hotmail.com>2018-03-03 18:23:39 -0600
commit1bf492ce78c93c7be2d33edbbd996f1e5e9e72e8 (patch)
tree4162b608173d21069c36cc0d72d72be2f20cf039 /src
parentcf9931e2a1752455a55ff3e6b4063a66d089d26f (diff)
downloadinvidious-1bf492ce78c93c7be2d33edbbd996f1e5e9e72e8.tar.gz
invidious-1bf492ce78c93c7be2d33edbbd996f1e5e9e72e8.tar.bz2
invidious-1bf492ce78c93c7be2d33edbbd996f1e5e9e72e8.zip
Clarify wait option
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 943259f2..46dc02ee 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -32,11 +32,11 @@ Kemal.config.extra_options do |parser|
exit
end
end
- parser.on("-w TIME", "--wait=TIME", "Time to wait between server requests in seconds (default: 1 second)") do |number|
+ parser.on("-w SECONDS", "--wait=SECONDS", "Time to wait between server requests (default: 1)") do |number|
begin
sleep_time = number.to_f64
rescue ex
- puts "TIME must be integer or float"
+ puts "SECONDS must be integer or float"
exit
end
end