summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-09 14:57:23 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-09 14:57:23 -0400
commit07ca31c4725e1b62863ec93a6d03f2e13c41b3fa (patch)
tree4800e8a56ec92dc11d9484d14b2d6340211e574b /Command
parent60a9f676ef6dafa9eaf4f82389a3d40e098457e2 (diff)
add build flags to version output
Diffstat (limited to 'Command')
-rw-r--r--Command/Version.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Command/Version.hs b/Command/Version.hs
index 907811e75..e066bba5d 100644
--- a/Command/Version.hs
+++ b/Command/Version.hs
@@ -11,6 +11,7 @@ import Common.Annex
import Command
import qualified Build.SysConfig as SysConfig
import Annex.Version
+import BuildFlags
def :: [Command]
def = [noCommit $ noRepo showPackageVersion $ dontCheck repoExists $
@@ -28,6 +29,7 @@ start = do
putStrLn $ "default repository version: " ++ defaultVersion
putStrLn $ "supported repository versions: " ++ vs supportedVersions
putStrLn $ "upgrade supported from repository versions: " ++ vs upgradableVersions
+ putStrLn $ "build flags: " ++ unwords buildFlags
stop
where
vs = join " "