Skip to content

Invidious is an alternative front-end to YouTube

Fix arg parsing

Omar Rothda97dfad8e31
diff --git a/src/invidious.cr b/src/invidious.cr
index e5c5553e..417472a1 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -32,11 +32,9 @@ Kemal.config.extra_options do |parser|
exit
end
end
- parser.on("-h", "--help", "Show this help") do
- puts parser
- exit
end
-end
+
+Kemal::CLI.new
PG_DB = DB.open "postgres://kemal:kemal@localhost:5432/invidious"
URL = URI.parse("https://www.youtube.com")