From 8fde9cbe22885116e4779ea70e13bd0c2273d604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Mon, 4 Sep 2023 17:31:18 +0200 Subject: [PATCH] tests: Re-add --with-secret option * tests/run-keylist.c (main): Handle option --with-secret again. -- Re-add handling of --with-secret option that was accidentally removed with the previous commit. GnuPG-bug-id: 6705 --- tests/run-keylist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run-keylist.c b/tests/run-keylist.c index d517cac5..46f8f3b2 100644 --- a/tests/run-keylist.c +++ b/tests/run-keylist.c @@ -180,9 +180,9 @@ main (int argc, char **argv) mode |= GPGME_KEYLIST_MODE_VALIDATE; argc--; argv++; } - else if (!strcmp (*argv, "--validate")) + else if (!strcmp (*argv, "--with-secret")) { - mode |= GPGME_KEYLIST_MODE_VALIDATE; + mode |= GPGME_KEYLIST_MODE_WITH_SECRET; argc--; argv++; } else if (!strcmp (*argv, "--v5fpr"))