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