From 906258ca5e46662d6b5660c6245bd32c1cae87b9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 1 May 2013 23:11:13 -0400 Subject: [PATCH] include build flags in version info when not in a repo --- Command/Version.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Command/Version.hs b/Command/Version.hs index 549d890289..c8507cd5ac 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