Skip to content

Commit a6b2b7a

Browse files
committed
Rename --deps-haddock arg to --haddock-deps (#143)
1 parent de35344 commit a6b2b7a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/Main.hs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -534,10 +534,10 @@ dockerExecCmd (cmd,args) go@GlobalOpts{..} = do
534534

535535
-- | Parser for build arguments.
536536
buildOpts :: 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

0 commit comments

Comments
 (0)