version: Display OS version and architecture too.
This commit is contained in:
parent
55eec1b72a
commit
0897da391e
2 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,8 @@ import qualified Types.Remote as R
|
||||||
import qualified Remote
|
import qualified Remote
|
||||||
import qualified Backend
|
import qualified Backend
|
||||||
|
|
||||||
|
import System.Info
|
||||||
|
|
||||||
cmd :: Command
|
cmd :: Command
|
||||||
cmd = dontCheck repoExists $ noCommit $
|
cmd = dontCheck repoExists $ noCommit $
|
||||||
noRepo (seekNoRepo <$$> optParser) $
|
noRepo (seekNoRepo <$$> optParser) $
|
||||||
|
@ -53,6 +55,8 @@ showVersion = do
|
||||||
unwords supportedVersions
|
unwords supportedVersions
|
||||||
vinfo "upgrade supported from repository versions" $
|
vinfo "upgrade supported from repository versions" $
|
||||||
unwords upgradableVersions
|
unwords upgradableVersions
|
||||||
|
vinfo "operating system" $
|
||||||
|
unwords [os, arch]
|
||||||
|
|
||||||
showPackageVersion :: IO ()
|
showPackageVersion :: IO ()
|
||||||
showPackageVersion = do
|
showPackageVersion = do
|
||||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -16,6 +16,7 @@ git-annex (6.20160420) UNRELEASED; urgency=medium
|
||||||
* map: Hide dead repositories that are not connected to the graph.
|
* map: Hide dead repositories that are not connected to the graph.
|
||||||
* map: Changed colors; red is used for untrusted repositories and grey
|
* map: Changed colors; red is used for untrusted repositories and grey
|
||||||
for dead.
|
for dead.
|
||||||
|
* version: Display OS version and architecture too.
|
||||||
|
|
||||||
-- Joey Hess <id@joeyh.name> Thu, 28 Apr 2016 13:17:04 -0400
|
-- Joey Hess <id@joeyh.name> Thu, 28 Apr 2016 13:17:04 -0400
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue