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:
parent
e36b2d1bce
commit
8fde9cbe22
@ -180,9 +180,9 @@ main (int argc, char **argv)
|
|||||||
mode |= GPGME_KEYLIST_MODE_VALIDATE;
|
mode |= GPGME_KEYLIST_MODE_VALIDATE;
|
||||||
argc--; argv++;
|
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++;
|
argc--; argv++;
|
||||||
}
|
}
|
||||||
else if (!strcmp (*argv, "--v5fpr"))
|
else if (!strcmp (*argv, "--v5fpr"))
|
||||||
|
Loading…
Reference in New Issue
Block a user