diff --git a/src/Main.hs b/src/Main.hs index abf897c35..b8e19af61 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -32,7 +32,8 @@ main = do <> prettyVersion <> " / create a REST API to an existing Postgres database" ) - conf <- execParser opts + parserPrefs = prefs showHelpOnError + conf <- customExecParser parserPrefs opts let port = configPort conf unless (configSecure conf) $