Skip to content

Commit

Permalink
dependency -> dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
emilypi committed Apr 12, 2020
1 parent f66c529 commit 1a72f47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cabal-install/Distribution/Client/CmdRepl.hs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ envOptions _ =
[ option ['b'] ["build-depends"]
"Include additional packages in the environment presented to GHCi."
envPackages (\p flags -> flags { envPackages = p ++ envPackages flags })
(reqArg "DEPENDENCIES" dependencyReadE (fmap prettyShow :: [Dependency] -> [String]))
(reqArg "DEPENDENCIES" dependenciesReadE (fmap prettyShow :: [Dependency] -> [String]))
, option [] ["no-transitive-deps"]
"Don't automatically include transitive dependencies of requested packages."
envIncludeTransitive (\p flags -> flags { envIncludeTransitive = p })
Expand All @@ -138,10 +138,10 @@ envOptions _ =
trueArg
]
where
dependencyReadE :: ReadE [Dependency]
dependencyReadE =
dependenciesReadE :: ReadE [Dependency]
dependenciesReadE =
parsecToReadE
("couldn't parse dependency: " ++)
("couldn't parse dependencies: " ++)
(parsecCommaList parsec)

replCommand :: CommandUI ( ConfigFlags, ConfigExFlags, InstallFlags
Expand Down

0 comments on commit 1a72f47

Please sign in to comment.