gpg: New list-option "show-only-fpr-mbox".
authorWerner Koch <wk@gnupg.org>
Tue, 4 Dec 2018 11:32:28 +0000 (12:32 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 4 Dec 2018 14:31:41 +0000 (15:31 +0100)
commit0e8bf204791ebfd0c9a8e4b49fbadf998ec62e49
treec4733a49c7b1ac3fc1431f3b2376b6c1e5368ce1
parent73e5b0ec9b9ba5e04e55f8c42d81e23df7c3afe0
gpg: New list-option "show-only-fpr-mbox".

* g10/gpg.c (parse_list_options): Add option "show-only-fpr-mbox".
* g10/options.h (LIST_SHOW_ONLY_FPR_MBOX): New.
* g10/keylist.c (list_keyblock_simple): New.
(list_keyblock): Call it.
(list_all): Do not print the keyring name in LIST_SHOW_ONLY_FPR_MBOX
mode.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpg.texi
g10/gpg.c
g10/keylist.c
g10/options.h