g10: Rename 'card-edit' to 'edit-card'.
authorJustus Winter <justus@g10code.com>
Thu, 15 Dec 2016 13:50:10 +0000 (14:50 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 15 Dec 2016 13:50:10 +0000 (14:50 +0100)
commit6e4396723e9e5865015ebf7033628fa3919cf7d1
treedf65305bb7e3f846cc7ea4af7e3e112e0ac834ab
parent3c691097ca144e9a1d4c9185636c59a848bec85c
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>
doc/gpg.texi
g10/call-agent.c
g10/gpg.c