mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <wk@gnupg.org>
This commit is contained in:
parent
0ed6a6df5a
commit
d10b67b9bc
2 changed files with 23 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue