From fdb726f77de51c74e95f3e32d3e0f4c20d9ee3ad Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sat, 28 Aug 2021 18:34:26 +0200 Subject: [PATCH] gpg: Print a note about the obsolete option --secret-keyring. -- GnuPG-bug-id: 2749 --- doc/ldap/README.ldap | 2 +- g10/gpg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ldap/README.ldap b/doc/ldap/README.ldap index 32e958615..187016cb6 100644 --- a/doc/ldap/README.ldap +++ b/doc/ldap/README.ldap @@ -1,7 +1,7 @@ # README.ldap -*- org -*- #+TITLE: How to use LDAP with GnuPG #+AUTHOR: GnuPG.com -#+DATE: 2020-12-23 +#+DATE: 2021-05-28 # # The following comment lines are for use by Org-mode. #+EXPORT_FILE_NAME: gnupg-and-ldap diff --git a/g10/gpg.c b/g10/gpg.c index f3d645d4a..411b6c097 100644 --- a/g10/gpg.c +++ b/g10/gpg.c @@ -2886,7 +2886,7 @@ main (int argc, char **argv) break; case oSecretKeyring: - /* Ignore this old option. */ + obsolete_option (configname, pargs.lineno, "secret-keyring"); break; case oNoArmor: opt.no_armor=1; opt.armor=0; break;