Skip to content

Commit

Permalink
flip parsing of cli opt with no sharing flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Paczesiowa committed Jun 1, 2012
1 parent f3960dd commit 72d2a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Args.hs
Expand Up @@ -86,14 +86,14 @@ argParser = proc () -> do
Nothing -> System
Just path -> Tarball path
skipSanityCheckFlag <- getOpt skipSanityOpt -< ()
sharingFlag <- getOpt sharingOpt -< () --reversed value
noSharingFlag <- getOpt sharingOpt -< ()
make <- getOpt makeOpt -< ()
returnA -< Options{ verbosity = verboseness
, skipSanityCheck = skipSanityCheckFlag
, hsEnvName = name
, ghcSource = ghc
, makeCmd = make
, noSharing = not sharingFlag
, noSharing = noSharingFlag
}
where liftIO' = liftIO . const

Expand Down

0 comments on commit 72d2a88

Please sign in to comment.