Ticket #249 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

"haddock --hoogle" does not produce any effect

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Cabal library Version: 1.2.3.0
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.8.2 Platform: Linux

Description

When running

runhaskell Setup.hs haddock --hoogle

will produce nothing, whereas a dist/doc/html/pkgid.txt should be created.

I'm running Cabal-1.2.3.0 with ghc-6.8.2 and Haddock-2.0.0.0

Cheers

Andrea Rossato

Change History

Changed 5 years ago by guest

haddock 2.0 does not support the --hoogle option, sadly :-(. Perhaps --hoogle with haddock 2 should give an error, or the haddocky people should fix this up.

Changed 5 years ago by guest

Thanks for your quick replay.

Maybe the haddock guys should think about updating the output of haddock --help. (btw, the manual is indeed correct but I checked it too late).

Sorry for the noise.

Changed 5 years ago by duncan

  • status changed from new to closed
  • resolution set to fixed

Added a better error message.

Note: See TracTickets for help on using tickets.