Add link to config docs in message

This commit is contained in:
Joe Nelson
2017-01-22 16:18:41 -08:00
parent 69fd5f1b33
commit a61c783e2d
+2
View File
@@ -143,6 +143,8 @@ readOptions = do
missingKeyHint (C.KeyError n) = do
hPutStrLn stderr $
"Required config parameter \"" <> n <> "\" is missing or of wrong type.\n" <>
"Documentation for configuration options available at\n" <>
"\thttp://postgrest.com/en/v0.4/admin.html#configuration\n\n" <>
"Try the --example-config option to see how to configure PostgREST."
exitFailure