include build flags in version info when not in a repo

This commit is contained in:
Joey Hess 2013-05-01 23:11:13 -04:00
parent d983f68911
commit 906258ca5e

View file

@ -29,8 +29,9 @@ start = do
putStrLn $ "default repository version: " ++ defaultVersion
putStrLn $ "supported repository versions: " ++ unwords supportedVersions
putStrLn $ "upgrade supported from repository versions: " ++ unwords upgradableVersions
putStrLn $ "build flags: " ++ unwords buildFlags
stop
showPackageVersion :: IO ()
showPackageVersion = putStrLn $ "git-annex version: " ++ SysConfig.packageversion
showPackageVersion = do
putStrLn $ "git-annex version: " ++ SysConfig.packageversion
putStrLn $ "build flags: " ++ unwords buildFlags