diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-01 23:11:13 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-01 23:11:13 -0400 |
commit | 68c4cd55b456a692591055606688c9f53b0ba8b0 (patch) | |
tree | f0aff3add8b8d54f7773a20032194dc2ce1d6532 | |
parent | c2f2e298d0967f19eb648e68c54cded3fef1a0d8 (diff) |
include build flags in version info when not in a repo
-rw-r--r-- | Command/Version.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/Version.hs b/Command/Version.hs index 549d89028..c8507cd5a 100644 --- a/Command/Version.hs +++ b/Command/Version.hs @@ -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 |