diff options
author | Werner Koch <wk@gnupg.org> | 2008-10-13 11:42:32 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-10-13 11:42:32 +0200 |
commit | c1329ec7c600a7b8e9b1511f1612728521a2b6ea (patch) | |
tree | 90f6d19218f7c8de93b5a6685b247c7915468c05 /sm | |
parent | Explain how to delete a secret X.509 key. (diff) | |
download | gnupg2-c1329ec7c600a7b8e9b1511f1612728521a2b6ea.tar.xz gnupg2-c1329ec7c600a7b8e9b1511f1612728521a2b6ea.zip |
Add --delete-keys as alias for --delete-key.
Diffstat (limited to 'sm')
-rw-r--r-- | sm/ChangeLog | 4 | ||||
-rw-r--r-- | sm/gpgsm.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sm/ChangeLog b/sm/ChangeLog index 2035c543e..ccc61dc8f 100644 --- a/sm/ChangeLog +++ b/sm/ChangeLog @@ -1,3 +1,7 @@ +2008-10-13 Werner Koch <wk@g10code.com> + + * gpgsm.c: Add alias --delete-keys. + 2008-09-30 Werner Koch <wk@g10code.com> * server.c (cmd_getinfo): New subcommand agent-check. diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 36c1ea6b6..3b8bf915b 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -259,7 +259,7 @@ static ARGPARSE_OPTS opts[] = { { aListChain, "list-chain", 256, N_("list certificate chain")}, { oFingerprint, "fingerprint", 256, N_("list keys and fingerprints")}, { aKeygen, "gen-key", 256, "@" }, - { aDeleteKey, "delete-key",256, N_("remove key from the public keyring")}, + { aDeleteKey, "delete-keys",256,N_("remove keys from the public keyring")}, { aSendKeys, "send-keys" , 256, N_("export keys to a key server") }, { aRecvKeys, "recv-keys" , 256, N_("import keys from a key server") }, { aImport, "import", 256 , N_("import certificates")}, @@ -447,6 +447,7 @@ static ARGPARSE_OPTS opts[] = { { aListChain, "list-sigs",256, "@" }, /* alias */ { aListChain, "check-sig",256, "@" }, /* alias */ { aListChain, "check-sigs",256, "@"}, /* alias */ + { aDeleteKey, "delete-key",256,"@"}, /* alias */ { oSkipVerify, "skip-verify",0, "@" }, { oCompressKeys, "compress-keys",0, "@"}, { oCompressSigs, "compress-sigs",0, "@"}, |