From 087d3e7a45761d4570daf151bf3dd13f7c879858 Mon Sep 17 00:00:00 2001 From: gwern0 Date: Sat, 28 Nov 2009 15:48:40 +0100 Subject: Main.hs +--verbose-version flag Ignore-this: 61a081f33adb460ea459950a750dd93f This resolves http://code.google.com/p/xmonad/issues/detail?id=320 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 --- Main.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Main.hs b/Main.hs index cce6868..abcab51 100644 --- a/Main.hs +++ b/Main.hs @@ -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 -- cgit v1.2.3