Split ShowVersion etc off into a different type to DoInteractive etc
authorIan Lynagh <igloo@earth.li>
Fri, 26 Sep 2008 14:05:39 +0000 (14:05 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 26 Sep 2008 14:05:39 +0000 (14:05 +0000)
commit4cdb06b3b6e836777eef10f4707a07d1ddcb280e
tree756031c3f71542ee98d3752135d77c38d1fbfe2e
parentaee2527dd489b12770a0374c81f6318a5160f353
Split ShowVersion etc off into a different type to DoInteractive etc
This fixes trac #1348 (ghci --help gave ghc's help), and also tidies
things up a bit. Things would be even tidier if the usage.txt files were
put into a .hs file, so that ShowUsage wouldn't need to be able to find
the libdir.
ghc/Main.hs