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:
parent
a5d1058157
commit
cfffb7f5dd
|
@ -65,9 +65,9 @@ enum {
|
||||||
static const struct option options[] = {
|
static const struct option options[] = {
|
||||||
{ "serial", 0, NULL, OPT_SERIAL },
|
{ "serial", 0, NULL, OPT_SERIAL },
|
||||||
{ "name", 0, NULL, 'n' },
|
{ "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 */
|
{ "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' },
|
{ "object", 1, NULL, 'O' },
|
||||||
{ "cert", 1, NULL, 'C' },
|
{ "cert", 1, NULL, 'C' },
|
||||||
{ "compresscert", 1, NULL, 'Z' },
|
{ "compresscert", 1, NULL, 'Z' },
|
||||||
|
|
Loading…
Reference in New Issue