Skip to content

Commit

Permalink
Merge pull request commercialhaskell#1972 from commercialhaskell/1837…
Browse files Browse the repository at this point in the history
…-build-a-subset-of-docker-images

options not args (& hindent johan-tibell 4 spaces)
  • Loading branch information
mgsloan committed Mar 31, 2016
2 parents 1c89cb5 + 5091729 commit f99c2de
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/main/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -397,22 +397,22 @@ commandLineHandler progName isInterpreter = complicatedOptions
cfgSetCmd
configCmdSetParser)
addSubCommands'
Image.imgCmdName
"Subcommands specific to imaging (EXPERIMENTAL)"
(addCommand'
Image.imgDockerCmdName
"Build a Docker image for the project"
imgDockerCmd
((,) <$>
boolFlags
True
"build"
"building the project before creating the container"
idm <*>
many
(textArgument
(metavar "IMAGE" <>
help "If none specified, build all defined container images"))))
Image.imgCmdName
"Subcommands specific to imaging (EXPERIMENTAL)"
(addCommand'
Image.imgDockerCmdName
"Build a Docker image for the project"
imgDockerCmd
((,) <$>
boolFlags
True
"build"
"building the project before creating the container"
idm <*>
many
(textOption
(long "image" <>
help "A specific container image name to build"))))
addSubCommands'
"hpc"
"Subcommands specific to Haskell Program Coverage"
Expand Down

0 comments on commit f99c2de

Please sign in to comment.