Make the --info values printable with "ghc --print-foo"; trac #3122
authorIan Lynagh <igloo@earth.li>
Thu, 16 Jul 2009 00:17:18 +0000 (00:17 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 16 Jul 2009 00:17:18 +0000 (00:17 +0000)
commit1c1980863810c6b1bbed2ebbcce882a0f9144ade
tree82411e9c38c5fe57b008ab5803ca347307607579
parent36dfa35139e359e51f4062b165ee5823f4f2b2a7
Make the --info values printable with "ghc --print-foo"; trac #3122
Also, libdir is now part of the --info output, so this subsumes the old
--print-libdir flag.
The mode parsing was getting rather adhoc, so I've tidied it up a bit
in the process.
compiler/main/DynFlags.hs
ghc/Main.hs