aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2019-05-26 18:19:35 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2019-05-26 18:19:35 +0300
commitc89b2b3174681ec0a4ee7fadba76b744270eb9d5 (patch)
treebae785239d92cdabd340f3216291adb7a63fc05d
parent31267d352e329875e647fa422d68b08106a36cf2 (diff)
Update description of server options
-rw-r--r--app/Server.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Server.hs b/app/Server.hs
index 41197b6..3ffef1a 100644
--- a/app/Server.hs
+++ b/app/Server.hs
@@ -218,7 +218,7 @@ configParser =
(not <$>
switch
(long "no-expressions" <>
- help "Disable queries that return expressions inside selected span")) <*>
+ help "Disable queries that return expressions inside selected span (reduces memory usage)")) <*>
optional
(strOption
(long "index-directory" <>
@@ -237,7 +237,7 @@ configParser =
help "URL prefix for static files (default is 'files')")) <*>
optional
(strOption
- (long "js-path" <> help "Path to a directory with javascript files" <>
+ (long "js-path" <> help "Path to a directory with javascript files (by default, the server uses javascript files that are embedded in the executable)" <>
metavar "PATH")) <*>
(pure 50 <|>
option
@@ -248,7 +248,7 @@ configParser =
(CreateStore <$>
strOption
(long "create-store" <>
- help "Create a key-value store from PackageInfo of each indexed package" <>
+ help "Create a key-value store from PackageInfo of each indexed package. The key-value store allows to significantly reduce memory usage of the server (3x times for a real-world set of Haskell packages)." <>
metavar "PATH_TO_DATA_DIRECTORY") <|>
(UseStore <$>
strOption
@@ -258,7 +258,7 @@ configParser =
(UseStoreMmap <$>
strOption
(long "use-store-mmap" <>
- help "Use existing key-value store. mmap 'values' file." <>
+ help "Use existing key-value store. Memory map 'values' file (the server uses less memory but may be slower to respond to requests)." <>
metavar "PATH_TO_DATA_DIRECTORY"))) <*>
switch
(long "use-hoogle-api" <>