summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2018-01-23 10:47:28 +0100
committerOliver Kiddle <opk@zsh.org>2018-01-23 11:03:00 +0100
commitaabf978fce356e7efa91202dc72e37e6e2ece65e (patch)
tree571a26c942e8677277c93d72730bc4c507135b6b
parentb5572f9037b89d477d86b6357b7847a978d3922a (diff)
downloadzsh-aabf978fce356e7efa91202dc72e37e6e2ece65e.tar.gz
zsh-aabf978fce356e7efa91202dc72e37e6e2ece65e.zip
42299: correct optional argument
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Zsh/Command/_typeset2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d60497404..52878a5fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2018-01-23 Oliver Kiddle <okiddle@yahoo.co.uk>
+ * 42299: Completion/Zsh/Command/_typeset: correct optional argument
+
* Matthew Martin: 42309: Completion/Unix/Command/_dhclient,
Completion/Unix/Command/_id, Completion/Unix/Command/_install:
A few small updates for OpenBSD
diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index e4446a6ff..14d5d371b 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -30,7 +30,7 @@ allargs=(
k "($popts -w -z)-+k[mark function for ksh-style autoloading]"
l "($popts -T)-l[convert the value to lowercase]"
m '(-A -E -F -T -i)-m[treat arguments as patterns]'
- p '-p+[output parameters in form of calls to typeset]:option:((1\:multi-line\ output\ of\ arrays))'
+ p '-p+[output parameters in form of calls to typeset]::option:((1\:multi-line\ output\ of\ arrays))'
r '(-f)-+r[mark parameters as readonly]'
rf '-r[remember autoload path]'
Rf '-R[remember autoload path, error if not found]'