From a61c783e2d0d610f057b169580ba12ada2542ece Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Sun, 22 Jan 2017 16:18:41 -0800 Subject: [PATCH] Add link to config docs in message --- src/PostgREST/Config.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PostgREST/Config.hs b/src/PostgREST/Config.hs index a680c3e7a..dd29075f9 100644 --- a/src/PostgREST/Config.hs +++ b/src/PostgREST/Config.hs @@ -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