From da97dfad8e3195bf8c50672669ed61b4dc353a44 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 11 Feb 2018 16:48:27 -0600 Subject: [PATCH] Fix arg parsing --- src/invidious.cr | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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")