From 7effcca514d2665331612184100888975b3201fd Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Sat, 28 Aug 2010 12:21:51 +1000 Subject: [PATCH] Show which option is the default for command line tools. We use "y/N" is most places - this just adapts two places that use "Y/N" to match the behavior of read_yesno(). --- src/certtool.c | 2 +- src/pkcs11.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/certtool.c b/src/certtool.c index cdc06fa..9e21096 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -1513,7 +1513,7 @@ print_certificate_info (gnutls_x509_crt_t crt, FILE * out, unsigned int all) } if (out == stderr && batch == 0) /* interactive */ - if (read_yesno ("Is the above information ok? (Y/N): ") == 0) + if (read_yesno ("Is the above information ok? (y/N): ") == 0) { exit (1); } diff --git a/src/pkcs11.c b/src/pkcs11.c index 5ee92e6..98c4f12 100644 --- a/src/pkcs11.c +++ b/src/pkcs11.c @@ -89,7 +89,7 @@ unsigned int obj_flags = 0; if (!batch) { pkcs11_list(outfile, url, PKCS11_TYPE_ALL, login); - ret = read_yesno("Are you sure you want to delete those objects? (Y/N): "); + ret = read_yesno("Are you sure you want to delete those objects? (y/N): "); if (ret == 0) { exit(1); } -- 1.7.2.1