piv-tool: 'admin' and 'genkey' options need an argument ...

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5311 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
vtarasov 2011-04-08 12:28:59 +00:00
parent a5d1058157
commit cfffb7f5dd
1 changed files with 2 additions and 2 deletions

View File

@ -65,9 +65,9 @@ enum {
static const struct option options[] = {
{ "serial", 0, NULL, OPT_SERIAL },
{ "name", 0, NULL, 'n' },
{ "admin", 0, NULL, 'A' },
{ "admin", 1, NULL, 'A' },
{ "usepin", 0, NULL, 'P' }, /* some beta cards want user pin for put_data */
{ "genkey", 0, NULL, 'G' },
{ "genkey", 1, NULL, 'G' },
{ "object", 1, NULL, 'O' },
{ "cert", 1, NULL, 'C' },
{ "compresscert", 1, NULL, 'Z' },