mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix arg parsing
This commit is contained in:
parent
ea044ec2da
commit
da97dfad8e
1 changed files with 2 additions and 4 deletions
|
@ -32,11 +32,9 @@ Kemal.config.extra_options do |parser|
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
parser.on("-h", "--help", "Show this help") do
|
|
||||||
puts parser
|
|
||||||
exit
|
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
Kemal::CLI.new
|
||||||
|
|
||||||
PG_DB = DB.open "postgres://kemal:kemal@localhost:5432/invidious"
|
PG_DB = DB.open "postgres://kemal:kemal@localhost:5432/invidious"
|
||||||
URL = URI.parse("https://www.youtube.com")
|
URL = URI.parse("https://www.youtube.com")
|
||||||
|
|
Loading…
Reference in a new issue