about summary refs log tree commit diff
diff options
context:
space:
mode:
-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]'