diff options
author | gwern0 <gwern0@gmail.com> | 2009-11-28 15:48:40 +0100 |
---|---|---|
committer | gwern0 <gwern0@gmail.com> | 2009-11-28 15:48:40 +0100 |
commit | d611131ff60def671f0de351a0f522f3e3111998 (patch) | |
tree | 22b150b5e9556d1e9f901e7cf508fed117a7b45a | |
parent | 447954ba87e4597f833bfbfe59696a655664ca65 (diff) | |
download | xmonad-d611131ff60def671f0de351a0f522f3e3111998.tar.gz xmonad-d611131ff60def671f0de351a0f522f3e3111998.tar.xz xmonad-d611131ff60def671f0de351a0f522f3e3111998.zip |
Main.hs +--verbose-version flag
Ignore-this: 61a081f33adb460ea459950a750dd93f
This resolves http://code.google.com/p/xmonad/issues/detail?id20 by adding a
--verbose-version option yielding output like "xmonad 0.9 compiled by ghc 6.10 for linux/i386"
darcs-hash:20091128144840-f7719-1a4ee39193cf86e2b6fa79c299c6daf5bb90dc07.gz
-rw-r--r-- | Main.hs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ main = do ["--recompile"] -> recompile True >>= flip unless exitFailure ["--restart"] -> sendRestart >> return () ["--version"] -> putStrLn ("xmonad " ++ showVersion version) + ["--verbose-version"] -> putStrLn ("xmonad " ++ showVersion version ++ " compiled by " ++ compilerName + ++ " " ++ showVersion compilerVersion ++ " for " ++ os ++ "/" ++ arch) #ifdef TESTING ("--run-tests":_) -> Properties.main #endif |