summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_gpg2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 77f233f02..68766f9d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2006-10-03 Clint Adams <clint@zsh.org>
+ * 22810: Completion/Unix/Command/_gpg: fix malformed
+ --encrypt-to line.
+
* 22808: Completion/Debian/Command/_dchroot,
Completion/Debian/Command/_dchroot-dsa: handle internationalized
output and choices within brackets.
diff --git a/Completion/Unix/Command/_gpg b/Completion/Unix/Command/_gpg
index a4680a0c2..8028569b8 100644
--- a/Completion/Unix/Command/_gpg
+++ b/Completion/Unix/Command/_gpg
@@ -63,7 +63,7 @@ _arguments -C -s -S -A "-*" \
'--default-recipient[specify default recipient]:recipient:->public-keys' \
'--default-recipient-self[use default key as default recipient]' \
'--no-default-recipient[reset default recipient]' \
- '*--encrypt-to[specify recipient]:->public-keys' \
+ '*--encrypt-to[specify recipient]:key:->public-keys' \
'(--encrypt-to)--no-encrypt-to[disable the use of all --encrypt-to keys]' \
'(-q --quiet)*'{-v,--verbose}'[increase amount of output]' \
'(-q --quiet -v --verbose)'{-q,--quiet}'[reduce amount of output]' \