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
This commit is contained in:
Ingo Klöcker 2023-09-04 17:31:18 +02:00
parent e36b2d1bce
commit 8fde9cbe22
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9

View File

@ -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"))