summaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2004-05-05 04:40:27 +0200
committerDavid Shaw <dshaw@jabberwocky.com>2004-05-05 04:40:27 +0200
commitf106448a7dd1b03dd5cd60efd250f51595a0b9a9 (patch)
tree4feedc03fb238de8ea236bb09b48ea3d135ec459 /g10/g10.c
parentRemoved reference to non-available option (diff)
downloadgnupg2-f106448a7dd1b03dd5cd60efd250f51595a0b9a9.tar.xz
gnupg2-f106448a7dd1b03dd5cd60efd250f51595a0b9a9.zip
* keylist.c (show_notation): Use bits to select which sort of notation to
show. Don't allow a not-shown notation to prevent us from issuing the proper --status-fd message. * options.h, g10.c (main): Add show-std/standard-notations and show-user-notations. show-notations is both. Default is to show standard notations only during verify. Change all callers.
Diffstat (limited to 'g10/g10.c')
-rw-r--r--g10/g10.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 4281357ca..438242e52 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -1447,7 +1447,7 @@ main( int argc, char **argv )
opt.keyserver_options.options=
KEYSERVER_INCLUDE_SUBKEYS|KEYSERVER_INCLUDE_REVOKED|KEYSERVER_TRY_DNS_SRV|KEYSERVER_HONOR_KEYSERVER_URL;
opt.verify_options=
- VERIFY_SHOW_POLICY_URLS|VERIFY_SHOW_NOTATIONS|VERIFY_SHOW_KEYSERVER_URLS;
+ VERIFY_SHOW_POLICY_URLS|VERIFY_SHOW_STD_NOTATIONS|VERIFY_SHOW_KEYSERVER_URLS;
opt.trust_model=TM_AUTO;
opt.mangle_dos_filenames=0;
opt.min_cert_level=2;
@@ -2126,6 +2126,9 @@ main( int argc, char **argv )
{"show-photos",LIST_SHOW_PHOTOS,NULL},
{"show-policy-urls",LIST_SHOW_POLICY_URLS,NULL},
{"show-notations",LIST_SHOW_NOTATIONS,NULL},
+ {"show-std-notations",LIST_SHOW_STD_NOTATIONS,NULL},
+ {"show-standard-notations",LIST_SHOW_STD_NOTATIONS,NULL},
+ {"show-user-notations",LIST_SHOW_USER_NOTATIONS,NULL},
{"show-keyserver-urls",LIST_SHOW_KEYSERVER_URLS,NULL},
{"show-validity",LIST_SHOW_VALIDITY,NULL},
{"show-unusable-uids",LIST_SHOW_UNUSABLE_UIDS,NULL},
@@ -2152,6 +2155,9 @@ main( int argc, char **argv )
{"show-photos",VERIFY_SHOW_PHOTOS,NULL},
{"show-policy-urls",VERIFY_SHOW_POLICY_URLS,NULL},
{"show-notations",VERIFY_SHOW_NOTATIONS,NULL},
+ {"show-std-notations",VERIFY_SHOW_STD_NOTATIONS,NULL},
+ {"show-standard-notations",VERIFY_SHOW_STD_NOTATIONS,NULL},
+ {"show-user-notations",VERIFY_SHOW_USER_NOTATIONS,NULL},
{"show-keyserver-urls",VERIFY_SHOW_KEYSERVER_URLS,NULL},
{"show-validity",VERIFY_SHOW_VALIDITY,NULL},
{"show-unusable-uids",VERIFY_SHOW_UNUSABLE_UIDS,NULL},