Commit ecb58796 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Merge pull request #2044 from cheecheeo/reword_allow_newer

reword help text in allow-newer
parents 1c60cbc2 c35e3379
...@@ -352,13 +352,14 @@ configureExOptions _showOrParseArgs = ...@@ -352,13 +352,14 @@ configureExOptions _showOrParseArgs =
, optionSolver configSolver (\v flags -> flags { configSolver = v }) , optionSolver configSolver (\v flags -> flags { configSolver = v })
, option [] ["allow-newer"] , option [] ["allow-newer"]
"Ignore upper bounds in dependencies on some or all packages." ("Ignore upper bounds in all dependencies or " ++ allowNewerArgument)
configAllowNewer (\v flags -> flags { configAllowNewer = v}) configAllowNewer (\v flags -> flags { configAllowNewer = v})
(optArg "PKGS" (optArg allowNewerArgument
(fmap Flag allowNewerParser) (Flag AllowNewerAll) (fmap Flag allowNewerParser) (Flag AllowNewerAll)
allowNewerPrinter) allowNewerPrinter)
] ]
where allowNewerArgument = "DEPS"
instance Monoid ConfigExFlags where instance Monoid ConfigExFlags where
mempty = ConfigExFlags { mempty = ConfigExFlags {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment