Commit 7d0a6701 authored by Ian Lynagh's avatar Ian Lynagh

Add --version support to ghc-cabal

parent cdeb8a20
......@@ -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]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment