include build flags in version info when not in a repo
This commit is contained in:
parent
d983f68911
commit
906258ca5e
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue