Merge pull request #172 from GaloisInc/master

Show long help output with defaults on usage errors
This commit is contained in:
Joe Nelson
2015-03-16 21:09:57 -07:00
+2 -1
View File
@@ -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) $