Ticket #337 (new defect)

Opened 5 years ago

Last modified 17 months ago

--disable-split-objs has wrong help string

Reported by: guest Owned by:
Priority: normal Milestone: Cabal-1.8
Component: Cabal library Version: 1.2.3.0
Severity: minor Keywords:
Cc: ggreif@… Difficulty: hard (< 1 day)
GHC Version: 6.8.3 Platform:

Description

I did:

$ ./Setup.lhs configure --help

...

--enable-split-objs split library into smaller objects to

reduce binary sizes (GHC 6.6+)

--disable-split-objs split library into smaller objects to

reduce binary sizes (GHC 6.6+)

...

It should read:

--disable-split-objs retain library as one object file

(GHC 6.6+)

$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.3

Change History

Changed 5 years ago by duncan

  • platform Mac OS deleted
  • severity changed from normal to minor

The current one is only slightly better:

    --enable-split-objs            Enable split library into smaller objects to
                                   reduce binary sizes (GHC 6.6+)
    --disable-split-objs           Disable split library into smaller objects
                                   to reduce binary sizes (GHC 6.6+)

The problem here is our config system isn't quite as flexible as we want and assumes that all enable/disable flags have Enable/Disable descriptions.

Changed 5 years ago by guest

  • cc ggreif@… added

Changed 4 years ago by duncan

  • difficulty changed from normal to hard (< 1 day)
  • milestone set to Cabal-1.8

Need to rewrite the way we describe configurations options and translate them into command line flags and config file parsers.

Changed 17 months ago by elga

Note: See TracTickets for help on using tickets.