summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-10-03 15:59:39 +0000
committerClint Adams <clint@users.sourceforge.net>2006-10-03 15:59:39 +0000
commit4b65fe8966b2caffea5b1efedf078d897d0eb638 (patch)
tree76ce0671e0bf0db8f77c8321e3ab411adbdfae8f
parent7c854a26b8020c88cd79e301d8617e7dc6259abc (diff)
downloadzsh-4b65fe8966b2caffea5b1efedf078d897d0eb638.tar.gz
zsh-4b65fe8966b2caffea5b1efedf078d897d0eb638.tar.xz
zsh-4b65fe8966b2caffea5b1efedf078d897d0eb638.zip
22810: fix malformed --encrypt-to line
-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]' \