projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdeb8a2
)
Add --version support to ghc-cabal
author
Ian Lynagh
<igloo@earth.li>
Sun, 12 Dec 2010 21:36:00 +0000
(21:36 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 12 Dec 2010 21:36:00 +0000
(21:36 +0000)
utils/ghc-cabal/Main.hs
patch
|
blob
|
history
diff --git
a/utils/ghc-cabal/Main.hs
b/utils/ghc-cabal/Main.hs
index
81b47db
..
23d04cc
100644
(file)
--- a/
utils/ghc-cabal/Main.hs
+++ b/
utils/ghc-cabal/Main.hs
@@
-46,6
+46,8
@@
main = do args <- getArgs
_ -> die syntax_error
"sdist" : dir : distDir : [] ->
doSdist dir distDir
+ ["--version"] ->
+ defaultMainArgs ["--version"]
_ -> die syntax_error
syntax_error :: [String]