@@ -125,9 +125,9 @@ defaultEnvFlags = EnvFlags
125
125
envOptions :: ShowOrParseArgs -> [OptionField EnvFlags ]
126
126
envOptions _ =
127
127
[ option [' b' ] [" build-depends" ]
128
- " Include an additional package in the environment presented to GHCi."
128
+ " Include additional packages in the environment presented to GHCi."
129
129
envPackages (\ p flags -> flags { envPackages = p ++ envPackages flags })
130
- (reqArg " DEPENDENCY " dependencyReadE (fmap prettyShow :: [Dependency ] -> [String ]))
130
+ (reqArg " DEPENDENCIES " dependenciesReadE (fmap prettyShow :: [Dependency ] -> [String ]))
131
131
, option [] [" no-transitive-deps" ]
132
132
" Don't automatically include transitive dependencies of requested packages."
133
133
envIncludeTransitive (\ p flags -> flags { envIncludeTransitive = p })
@@ -138,10 +138,10 @@ envOptions _ =
138
138
trueArg
139
139
]
140
140
where
141
- dependencyReadE :: ReadE [Dependency ]
142
- dependencyReadE =
141
+ dependenciesReadE :: ReadE [Dependency ]
142
+ dependenciesReadE =
143
143
parsecToReadE
144
- (" couldn't parse dependency : " ++ )
144
+ (" couldn't parse dependencies : " ++ )
145
145
(parsecCommaList parsec)
146
146
147
147
replCommand :: CommandUI ( ConfigFlags , ConfigExFlags , InstallFlags
@@ -621,4 +621,3 @@ explanationSingleComponentLimitation =
621
621
" The reason for this limitation is that current versions of ghci do not "
622
622
++ " support loading multiple components as source. Load just one component "
623
623
++ " and when you make changes to a dependent component then quit and reload."
624
-
0 commit comments