Skip to content

Commit

Permalink
update --build-depends help string
Browse files Browse the repository at this point in the history
  • Loading branch information
emilypi committed Apr 12, 2020
1 parent 7e29625 commit f66c529
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cabal-install/Distribution/Client/CmdRepl.hs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ defaultEnvFlags = EnvFlags
envOptions :: ShowOrParseArgs -> [OptionField EnvFlags]
envOptions _ =
[ option ['b'] ["build-depends"]
"Include an additional package in the environment presented to GHCi."
"Include additional packages in the environment presented to GHCi."
envPackages (\p flags -> flags { envPackages = p ++ envPackages flags })
(reqArg "DEPENDENCY" dependencyReadE (fmap prettyShow :: [Dependency] -> [String]))
(reqArg "DEPENDENCIES" dependencyReadE (fmap prettyShow :: [Dependency] -> [String]))
, option [] ["no-transitive-deps"]
"Don't automatically include transitive dependencies of requested packages."
envIncludeTransitive (\p flags -> flags { envIncludeTransitive = p })
Expand Down Expand Up @@ -621,4 +621,3 @@ explanationSingleComponentLimitation =
"The reason for this limitation is that current versions of ghci do not "
++ "support loading multiple components as source. Load just one component "
++ "and when you make changes to a dependent component then quit and reload."

0 comments on commit f66c529

Please sign in to comment.