diff options
author | davve <davve@dtek.chalmers.se> | 2006-09-15 18:06:21 +0000 |
---|---|---|
committer | davve <davve@dtek.chalmers.se> | 2006-09-15 18:06:21 +0000 |
commit | d08eb01740b086654b430c82f8ba41f81058243f (patch) | |
tree | d2ce6c0a604c88addb3c93a784f89d2741586e91 /src | |
parent | fcfbcf661f26f2a22a4b6a54d628d7d1ec2c358e (diff) |
Remove handling of --package flag
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/Main.hs b/src/Main.hs index 33913b51..3bbcf3a0 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -77,15 +77,10 @@ main = do (flags, fileArgs) <- parseHaddockOpts rest'' - mbPkgName <- handleEagerFlags flags - let dynflags'' = case mbPkgName of - Just name -> setPackageName name dynflags' - Nothing -> dynflags' + setSessionDynFlags session dynflags' + modules <- sortAndCheckModules session dynflags' fileArgs - setSessionDynFlags session dynflags'' - modules <- sortAndCheckModules session dynflags'' fileArgs - - packages <- getPackages session dynflags'' + packages <- getPackages session dynflags' updateHTMLXRefs packages let env = packagesDocEnv packages |