diff options
Diffstat (limited to 'g10')
-rw-r--r-- | g10/call-agent.c | 2 | ||||
-rw-r--r-- | g10/gpg.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c index fd9b96413..335e12a01 100644 --- a/g10/call-agent.c +++ b/g10/call-agent.c @@ -660,7 +660,7 @@ agent_scd_learn (struct agent_card_info_s *info, int force) care about the data returned. If the card has already been initialized, this is a very fast command. The main reason we need to do this here is to handle a card removed case so that an - "l" command in --card-edit can be used to show ta newly inserted + "l" command in --edit-card can be used to show ta newly inserted card. We request the openpgp card because that is what we expect. */ rc = assuan_transact (agent_ctx, "SCD SERIALNO openpgp", @@ -495,7 +495,8 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_c (aFastImport, "fast-import", "@"), #ifdef ENABLE_CARD_SUPPORT ARGPARSE_c (aCardStatus, "card-status", N_("print the card status")), - ARGPARSE_c (aCardEdit, "card-edit", N_("change data on a card")), + ARGPARSE_c (aCardEdit, "edit-card", N_("change data on a card")), + ARGPARSE_c (aCardEdit, "card-edit", "@"), ARGPARSE_c (aChangePIN, "change-pin", N_("change a card's PIN")), #endif ARGPARSE_c (aListConfig, "list-config", "@"), |