From d10b67b9bc32e8feff1be86e6646fc23e58fe45d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 3 Nov 2016 10:58:19 +0100 Subject: gpgconf: Add a new field to the --query-swdb output. * tools/gpgconf.c (query_swdb): Insert new field with the installed version. Check that the supplied version does not contain a colon. Signed-off-by: Werner Koch --- doc/tools.texi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/tools.texi b/doc/tools.texi index 2d2ccefe8..6e578a3ad 100644 --- a/doc/tools.texi +++ b/doc/tools.texi @@ -984,6 +984,11 @@ special name which is replaced by the actual package implementing this version of GnuPG. For this name it is also not required to specify a version because @command{gpgconf} takes its own version in this case. +@item iversion +The currently installed version or an empty string. The value is +taken from the command line argument but may be provided by gpg +if not given. + @item status The status of the software package according to this table: @table @code @@ -995,9 +1000,9 @@ The given name is not known in the online database. @item u An update of the software is available. @item c -The specified version of the software is current. +The installed version of the software is current. @item n -The specified version is already newer than the released version. +The installed version is already newer than the released version. @end table @item urgency -- cgit v1.2.3