mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
g10: Rename 'card-edit' to 'edit-card'.
* g10/gpg.c (opts): Rename option. * g10/call-agent.c (agent_scd_learn): Update comment. * doc/gpg.texi: Update accordingly. -- This change has a surprising side effect. Previously, --edit was an alias for --edit-key, because the argument parser actually accepts unique prefixes of all options. With this change, however, --edit is ambiguous. GnuPG-bug-id: 2700 Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
3c691097ca
commit
6e4396723e
3 changed files with 7 additions and 4 deletions
|
@ -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", "@"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue