Fix arg parsing

This commit is contained in:
Omar Roth 2018-02-11 16:48:27 -06:00
parent ea044ec2da
commit da97dfad8e
1 changed files with 2 additions and 4 deletions

View File

@ -32,12 +32,10 @@ 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")
CONTEXT = OpenSSL::SSL::Context::Client.new