gpgconf: New option --show-versions.
* tools/gpgconf.c: Include exechelp.h. New option --show-versions. (get_revision_from_blurb): New. (show_version_gnupg): New. (show_version_libgcrypt): New. (show_version_gpgrt): New. (show_versions_via_dirmngr): New. (show_versions): New. * dirmngr/dirmngr.c (main): New internal option --gpgconf-versions. (get_revision_from_blurb): New. (gpgconf_versions): New.
This option should be helpful to gather information for debugging.
Backported-from-master: 357ad9ae29677c1676b56d2b81282e2f78ec8040
- Signed-off-by: Werner Koch <wk@gnupg.org>