Add link to config docs in message
This commit is contained in:
@@ -143,6 +143,8 @@ readOptions = do
|
|||||||
missingKeyHint (C.KeyError n) = do
|
missingKeyHint (C.KeyError n) = do
|
||||||
hPutStrLn stderr $
|
hPutStrLn stderr $
|
||||||
"Required config parameter \"" <> n <> "\" is missing or of wrong type.\n" <>
|
"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."
|
"Try the --example-config option to see how to configure PostgREST."
|
||||||
exitFailure
|
exitFailure
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user