opensc-explorer: explicitly mention key types

This commit is contained in:
Peter Marschall 2012-05-26 09:46:32 +02:00 committed by Viktor Tarasov
parent 2276c7e7e4
commit cd2cdf77f6
1 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ static struct command cmds[] = {
"rm", "<file id>",
"remove an EF/DF" },
{ do_verify,
"verify", "<key type><key ref> [<pin>]",
"verify", "{CHV|KEY|AUT|PRO}<key ref> [<pin>]",
"present a PIN or key to the card" },
{ do_pace,
"pace", "{pin|can|puk|mrz} [<secret>]",
@ -955,7 +955,7 @@ static int do_verify(int argc, char **argv)
printf("Code correct.\n");
return 0;
usage:
printf("Usage: verify <key type><key ref> [<pin>]\n");
printf("Usage: verify {CHV|KEY|AUT|PRO}<key ref> [<pin>]\n");
printf("Possible values of <key type>:\n");
for (i = 0; typeNames[i].str; i++)
printf("\t%s\n", typeNames[i].str);