Skip to content

Commit

Permalink
Merge pull request #6567 from commercialhaskell/fix6564-doc
Browse files Browse the repository at this point in the history
Fix #6564 Improve in-app documentation for --flag
  • Loading branch information
mpilgrem committed May 4, 2024
2 parents 226c2a0 + 331cccf commit f345721
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Stack/Options/BuildParser.hs
Expand Up @@ -132,8 +132,12 @@ flagsParser = Map.unionsWith Map.union
( long "flag"
<> completer flagCompleter
<> metavar "PACKAGE:[-]FLAG"
<> help "Override flags set in stack.yaml (applies to project packages \
\and extra-deps)."
<> help "Set (or unset) the Cabal flag for the package (or use '*' for \
\all packages) (can be specified multiple times). Applies to \
\project packages, packages included directly in the snapshot, \
\and extra-deps. Takes precedence over any Cabal flags \
\specified for the package in the snapshot or in the \
\project-level configuration file (stack.yaml)."
))

progsOptionsParser :: Parser [(Text, [Text])]
Expand Down

0 comments on commit f345721

Please sign in to comment.