Skip to content

Commit 2194959

Browse files
committed
Improve in-app help
1 parent cf8c693 commit 2194959

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

src/Stack/Options/BuildParser.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ buildOptsParser cmd = BuildOptsCLI
4242
( long "ghc-options"
4343
<> metavar "OPTIONS"
4444
<> completer ghcOptsCompleter
45-
<> help "Additional options passed to GHC"
45+
<> help "Additional options passed to GHC (can be specified \
46+
\multiple times)"
4647
))
4748
)
4849
<*> flagsParser

src/Stack/Options/GhciParser.hs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,17 @@ ghciOptsParser = GhciOpts
4343
( long "ghci-options"
4444
<> metavar "OPTIONS"
4545
<> completer ghcOptsCompleter
46-
<> help "Additional options passed to GHCi"
46+
<> help "Additional options passed to GHCi (can be specified \
47+
\multiple times)"
4748
))
4849
)
4950
<*> ( concat
5051
<$> many (argsOption
5152
( long "ghc-options"
5253
<> metavar "OPTIONS"
5354
<> completer ghcOptsCompleter
54-
<> help "Additional options passed to both GHC and GHCi"
55+
<> help "Additional options passed to both GHC and GHCi (can be \
56+
\specified multiple times)"
5557
))
5658
)
5759
<*> flagsParser

src/Stack/Options/ScriptParser.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ scriptOptsParser = ScriptOpts
6666
( long "ghc-options"
6767
<> metavar "OPTIONS"
6868
<> completer ghcOptsCompleter
69-
<> help "Additional options passed to GHC"
69+
<> help "Additional options passed to GHC (can be specified multiple \
70+
\times)"
7071
))
7172
<*> many (option extraDepRead
7273
( long "extra-dep"

0 commit comments

Comments
 (0)