aboutsummaryrefslogtreecommitdiffstats
path: root/g10/revoke.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-10-10 15:27:14 +0000
committerDavid Shaw <[email protected]>2004-10-10 15:27:14 +0000
commitf3687f6b6c9c8d3e28be3cc9ab7967d108ff71bc (patch)
tree39d7fcfd0589852bf0adda9b59691163ea8eca4d /g10/revoke.c
parent* keygen.c (ask_key_flags): New. (ask_algo): Call it here in --expert mode (diff)
downloadgnupg-f3687f6b6c9c8d3e28be3cc9ab7967d108ff71bc.tar.gz
gnupg-f3687f6b6c9c8d3e28be3cc9ab7967d108ff71bc.zip
* card-util.c, keyedit.c, openfile.c, pkclist.c, delkey.c, keygen.c,
photoid.c, revoke.c: Some yes-or-no prompts end in "(y/n)". Some don't. Consistently use y/n everywhere.
Diffstat (limited to 'g10/revoke.c')
-rw-r--r--g10/revoke.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/g10/revoke.c b/g10/revoke.c
index b973ff6cc..c99fd2709 100644
--- a/g10/revoke.c
+++ b/g10/revoke.c
@@ -276,7 +276,7 @@ gen_desig_revoke( const char *uname )
tty_printf("\n");
if( !cpr_get_answer_is_yes("gen_desig_revoke.okay",
- _("Create a revocation certificate for this key? ")) )
+ _("Create a designated revocation certificate for this key? (y/N) ")))
continue;
/* get the reason for the revocation (this is always v4) */
@@ -473,10 +473,11 @@ gen_revoke( const char *uname )
tty_printf("\n");
if( !cpr_get_answer_is_yes("gen_revoke.okay",
- _("Create a revocation certificate for this key? ")) ){
+ _("Create a revocation certificate for this key? (y/N) ")) )
+ {
rc = 0;
goto leave;
- }
+ }
if(sk->version>=4 || opt.force_v4_certs) {
/* get the reason for the revocation */
@@ -673,7 +674,7 @@ ask_revocation_reason( int key_rev, int cert_rev, int hint )
tty_printf("%s\n", description );
} while( !cpr_get_answer_is_yes("ask_revocation_reason.okay",
- _("Is this okay? ")) );
+ _("Is this okay? (y/N) ")) );
reason = m_alloc( sizeof *reason );
reason->code = code;