diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-02-11 16:48:27 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-02-11 16:48:27 -0600 |
| commit | da97dfad8e3195bf8c50672669ed61b4dc353a44 (patch) | |
| tree | 9b2b76b42909fb9ed989f8bfe8d03e32b7cfd878 /src | |
| parent | ea044ec2daf8905177c596b6e2137173d50ec3d3 (diff) | |
| download | invidious-da97dfad8e3195bf8c50672669ed61b4dc353a44.tar.gz invidious-da97dfad8e3195bf8c50672669ed61b4dc353a44.tar.bz2 invidious-da97dfad8e3195bf8c50672669ed61b4dc353a44.zip | |
Fix arg parsing
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious.cr | 6 |
1 files 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") |
