aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-09-25 04:03:11 +0000
committerDavid Shaw <[email protected]>2003-09-25 04:03:11 +0000
commite70e41612f428e4cb82109dd0637b09be4dcedfd (patch)
tree32b418f6093e4829d7ad61609112b554bc466300 /g10/g10.c
parent* keyedit.c (show_key_with_all_names): Show names a little neater by (diff)
downloadgnupg-e70e41612f428e4cb82109dd0637b09be4dcedfd.tar.gz
gnupg-e70e41612f428e4cb82109dd0637b09be4dcedfd.zip
* options.h, g10.c (main), keylist.c (list_keyblock_print): Add
"show-unusable-uids" list-option to show revoked and/or expired user IDs.
Diffstat (limited to '')
-rw-r--r--g10/g10.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 78b445fa7..a28077960 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -1398,8 +1398,11 @@ main( int argc, char **argv )
case oNoTTY: tty_no_terminal(1); break;
case oDryRun: opt.dry_run = 1; break;
case oInteractive: opt.interactive = 1; break;
- case oVerbose: g10_opt_verbose++;
- opt.verbose++; opt.list_sigs=1; break;
+ case oVerbose:
+ g10_opt_verbose++;
+ opt.verbose++;
+ opt.list_options|=LIST_SHOW_UNUSABLE_UIDS;
+ break;
case oKOption: set_cmd( &cmd, aKMode ); break;
case oBatch: opt.batch = 1; nogreeting = 1; break;
@@ -1767,6 +1770,7 @@ main( int argc, char **argv )
{"show-keyserver-url",LIST_SHOW_KEYSERVER},
{"show-validity",LIST_SHOW_VALIDITY},
{"show-long-keyid",LIST_SHOW_LONG_KEYID},
+ {"show-unusable-uids",LIST_SHOW_UNUSABLE_UIDS},
{"show-keyring",LIST_SHOW_KEYRING},
{"show-sig-expire",LIST_SHOW_SIG_EXPIRE},
{NULL,0}