gpg: Remove the edit-key toggle command.
authorWerner Koch <wk@gnupg.org>
Tue, 28 Jul 2015 15:43:29 +0000 (17:43 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 28 Jul 2015 15:43:29 +0000 (17:43 +0200)
commit7ef09afd1a6a37c7f22e7c3d898f0c917b08f940
tree92e7390364cada9554b1587113fcbc222bee0e7a
parent4bc75337f31374b7424d7bdebf839dd91ec80c0a
gpg: Remove the edit-key toggle command.

* g10/keyedit.c (cmds): Remove helptext from "toggle".
(keyedit_menu): Remove "toggle" var and remove the sub/pub check
against toggle.
--

Because it is now easily possible to have only secret keys for some of
the main/subkeys the current check on whether any secret is available
is not really useful.  A finer grained check should eventually be
implemented.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/keyedit.c