version: Display OS version and architecture too.

This commit is contained in:
Joey Hess 2016-05-05 16:06:01 -04:00
parent 55eec1b72a
commit 0897da391e
Failed to extract signature
2 changed files with 5 additions and 0 deletions

View file

@ -16,6 +16,8 @@ import qualified Types.Remote as R
import qualified Remote
import qualified Backend
import System.Info
cmd :: Command
cmd = dontCheck repoExists $ noCommit $
noRepo (seekNoRepo <$$> optParser) $
@ -53,6 +55,8 @@ showVersion = do
unwords supportedVersions
vinfo "upgrade supported from repository versions" $
unwords upgradableVersions
vinfo "operating system" $
unwords [os, arch]
showPackageVersion :: IO ()
showPackageVersion = do

1
debian/changelog vendored
View file

@ -16,6 +16,7 @@ git-annex (6.20160420) UNRELEASED; urgency=medium
* map: Hide dead repositories that are not connected to the graph.
* map: Changed colors; red is used for untrusted repositories and grey
for dead.
* version: Display OS version and architecture too.
-- Joey Hess <id@joeyh.name> Thu, 28 Apr 2016 13:17:04 -0400