diff options
| author | Werner Koch <[email protected]> | 2022-11-04 11:44:09 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2022-11-04 11:44:09 +0000 |
| commit | 811cfa34cb3e7166f0cf1f94565504dee21cd9f5 (patch) | |
| tree | 046552dfa32978b95572966d91387f80034ef5c2 /g10/gpg.c | |
| parent | tests: Add tests to check that OCB is only used for capable keys. (diff) | |
| download | gnupg-811cfa34cb3e7166f0cf1f94565504dee21cd9f5.tar.gz gnupg-811cfa34cb3e7166f0cf1f94565504dee21cd9f5.zip | |
gpg: New list-options show-pref and show-pref-verbose.
* g10/options.h (LIST_SHOW_PREF): New.
(LIST_SHOW_PREF_VERBOSE): New.
* g10/gpg.c (parse_list_options): Add new options.
* g10/keyedit.c (show_prefs): Factor code out to ...
* g10/keylist.c (show_preferences): new.
(list_keyblock_print): Call show_preferences.
Diffstat (limited to 'g10/gpg.c')
| -rw-r--r-- | g10/gpg.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2070,6 +2070,10 @@ parse_list_options(char *str) N_("show the keyring name in key listings")}, {"show-sig-expire",LIST_SHOW_SIG_EXPIRE,NULL, N_("show expiration dates during signature listings")}, + {"show-pref", LIST_SHOW_PREF, NULL, + N_("show preferences")}, + {"show-pref-verbose", LIST_SHOW_PREF_VERBOSE, NULL, + N_("show preferences")}, {"show-sig-subpackets",LIST_SHOW_SIG_SUBPACKETS,NULL, NULL}, {"show-only-fpr-mbox",LIST_SHOW_ONLY_FPR_MBOX, NULL, |
