aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-11-04 11:44:09 +0000
committerWerner Koch <[email protected]>2022-11-04 11:44:09 +0000
commit811cfa34cb3e7166f0cf1f94565504dee21cd9f5 (patch)
tree046552dfa32978b95572966d91387f80034ef5c2 /g10/options.h
parenttests: Add tests to check that OCB is only used for capable keys. (diff)
downloadgnupg-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/options.h')
-rw-r--r--g10/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index 02582ae50..b439ef120 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -422,6 +422,8 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
#define LIST_SHOW_USAGE (1<<11)
#define LIST_SHOW_ONLY_FPR_MBOX (1<<12)
#define LIST_SORT_SIGS (1<<13)
+#define LIST_SHOW_PREF (1<<14)
+#define LIST_SHOW_PREF_VERBOSE (1<<15)
#define VERIFY_SHOW_PHOTOS (1<<0)
#define VERIFY_SHOW_POLICY_URLS (1<<1)