haskell / cabal

Official upstream development repository for Cabal and cabal-install
https://haskell.org/cabal
Other
1.62k stars 691 forks source link

Executable haddock titles should include the version #1336

Open nwf opened 11 years ago

nwf commented 11 years ago

./Cabal/Distribution/Simple/Haddock.hs currently sets 301 argTitle = Flag $ showPkg ++ subtitle by default but overrides it for executables with 379 argTitle = Flag (exeName exe), which is distinctly less informative. Any reason not to include the version number (and tags) in the latter string?

Thanks! --nwf;

23Skidoo commented 11 years ago

Patches welcome!