Skip to content

Commit

Permalink
Merge pull request #7868 from bacchanalia/7867
Browse files Browse the repository at this point in the history
Fix --repl-options parsing
  • Loading branch information
mergify[bot] authored Dec 22, 2021
2 parents aae243e + 606e5a0 commit 9516034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,7 @@ replOptions _ =
trueArg
, option [] ["repl-options"]
"use this option for the repl"
replOptionsFlags (\p flags -> flags { replOptionsFlags = p ++ replOptionsFlags flags })
replOptionsFlags (\p flags -> flags { replOptionsFlags = p })
(reqArg "FLAG" (succeedReadE (:[])) id)
]

Expand Down

0 comments on commit 9516034

Please sign in to comment.