diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-08-05 07:18:54 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-08-05 07:18:54 +0200 |
commit | 9afefa397c2f122fb9dd023ff20698c4f2b3888d (patch) | |
tree | fa394cb603495354b7ec05b3a03fb244056721a3 /CabalHelper | |
parent | 2e7794ecaa1331da09f33643a9c63c9a9f556d62 (diff) |
Fix help command, add version command
Diffstat (limited to 'CabalHelper')
-rw-r--r-- | CabalHelper/Wrapper.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CabalHelper/Wrapper.hs b/CabalHelper/Wrapper.hs index c490b34..b827de6 100644 --- a/CabalHelper/Wrapper.hs +++ b/CabalHelper/Wrapper.hs @@ -118,7 +118,8 @@ main = handlePanic $ do opts <- guessProgramPaths opts' case args of [] -> usage - "--help":[] -> usage + "help":[] -> usage + "version":[] -> putStrLn $ showVersion version "print-appdatadir":[] -> putStrLn =<< appDataDir "print-build-platform":[] -> putStrLn $ display buildPlatform distdir:args' -> do |