Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 8fce52f

Browse files
committed
Improve help message
Indicate that some options dont do anything in combination with the `--lsp` flag. We do this, because we cant express this invariant in the type-system, yet. A follow-up PR, refactoring the command line flags is needed.
1 parent e0cac6a commit 8fce52f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Haskell/Ide/Engine/Options.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ globalOptsParser = GlobalOpts
5757
<> help "Enable Example2 plugin. Useful for developers only")
5858
<*> flag False True
5959
( long "dry-run"
60-
<> help "Perform a dry-run of loading files. Only searches for Haskell source files to load."
60+
<> help "Perform a dry-run of loading files. Only searches for Haskell source files to load. Does nothing if run as LSP server."
6161
)
6262
<*> many
6363
( argument str
6464
( metavar "FILES..."
65-
<> help "Directories and Filepaths to load.")
65+
<> help "Directories and Filepaths to load. Does nothing if run as LSP server.")
6666
)
6767

0 commit comments

Comments
 (0)