File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -534,10 +534,10 @@ dockerExecCmd (cmd,args) go@GlobalOpts{..} = do
534534
535535-- | Parser for build arguments.
536536buildOpts :: Bool -> Parser BuildOpts
537- buildOpts defaultHaddock =
537+ buildOpts forHaddock =
538538 BuildOpts <$> target <*> libProfiling <*> exeProfiling <*>
539- optimize <*> localHaddock <*> depsHaddock <*> finalAction <*> dryRun <*> ghcOpts <*> flags <*>
540- installExes <*> preFetch <*> testArgs <*> onlySnapshot
539+ optimize <*> haddock <*> haddockDeps <*> finalAction <*> dryRun <*> ghcOpts <*>
540+ flags <*> installExes <*> preFetch <*> testArgs <*> onlySnapshot
541541 where optimize =
542542 maybeBoolFlags " optimizations" " optimizations for TARGETs and all its dependencies" idm
543543 target =
@@ -555,14 +555,14 @@ buildOpts defaultHaddock =
555555 " executable-profiling"
556556 " library profiling for TARGETs and all its dependencies"
557557 idm
558- localHaddock =
559- boolFlags defaultHaddock
558+ haddock =
559+ boolFlags forHaddock
560560 " haddock"
561561 " building Haddocks"
562562 idm
563- depsHaddock =
563+ haddockDeps =
564564 maybeBoolFlags
565- " deps- haddock"
565+ " haddock-deps "
566566 " building Haddocks for dependencies"
567567 idm
568568 finalAction = pure DoNothing
You can’t perform that action at this time.
0 commit comments