aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-10-06 19:51:45 +0000
committerDavid Shaw <[email protected]>2004-10-06 19:51:45 +0000
commit8da1dfeed03ca758d41573f5b5b32a1ffe3538b5 (patch)
treefdf9197b3b05706424390cb92a04410f11d37e80 /g10/mainproc.c
parent* passphrase.c (agent_get_passphrase): Use keystrs for agent strings, and (diff)
downloadgnupg-8da1dfeed03ca758d41573f5b5b32a1ffe3538b5.tar.gz
gnupg-8da1dfeed03ca758d41573f5b5b32a1ffe3538b5.zip
* keyedit.c, keylist.c, keyserver.c, mainproc.c: The
revoked/expired/expires string change of 2004-09-29 was too simple. Use two styles for each tag.
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r--g10/mainproc.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index b28895866..3a36b186b 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -927,9 +927,17 @@ list_node( CTX c, KBNODE node )
{
/* of subkey */
if( pk->is_revoked )
- printf(" [%s]",_("revoked"));
+ {
+ printf(" [");
+ printf(_("revoked: %s"),revokestr_from_pk(pk));
+ printf("]");
+ }
else if( pk->expiredate )
- printf(" [%s:%s]",_("expires"), expirestr_from_pk( pk ) );
+ {
+ printf(" [");
+ printf(_("expires: %s"),expirestr_from_pk(pk));
+ printf("]");
+ }
}
if( !any )