From 6160e24085aa776edd07d43b28a162f2f28d1ec4 Mon Sep 17 00:00:00 2001 From: Rakesh Emmadi Date: Wed, 11 Jul 2018 13:54:13 +0530 Subject: [PATCH] rename 'raven' to 'graphql-engine' in help text, closes #87 --- server/src-exec/Main.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src-exec/Main.hs b/server/src-exec/Main.hs index cbd973d684c3e..237dec6a3c61c 100644 --- a/server/src-exec/Main.hs +++ b/server/src-exec/Main.hs @@ -56,9 +56,9 @@ parseRavenMode = subparser ( command "serve" (info (helper <*> serveOptsParser) ( progDesc "Start the HTTP api server" )) <> command "export" (info (pure ROExport) - ( progDesc "Export raven's schema to stdout" )) + ( progDesc "Export graphql-engine's schema to stdout" )) <> command "clean" (info (pure ROClean) - ( progDesc "Clean raven's metadata to start afresh" )) + ( progDesc "Clean graphql-engine's metadata to start afresh" )) <> command "execute" (info (pure ROExecute) ( progDesc "Execute a query" )) ) @@ -80,7 +80,7 @@ parseArgs = execParser opts optParser = RavenOptions <$> parseRawConnInfo <*> parseRavenMode opts = info (helper <*> optParser) ( fullDesc <> - header "raven - Hasura's datastore") + header "Hasura's graphql-engine - Exposes Postgres over GraphQL") printJSON :: (A.ToJSON a) => a -> IO () printJSON = BLC.putStrLn . A.encode @@ -146,7 +146,7 @@ main = withStdoutLogger ravenLogGen $ \rlogger -> do res <- runTx ci $ migrateCatalog currentTime either ((>> exitFailure) . printJSON) putStrLn res - cleanSuccess = putStrLn "successfully cleaned raven related data" + cleanSuccess = putStrLn "successfully cleaned graphql-engine related data" printConnInfo ci = putStrLn $