summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-10-26 12:45:10 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-10-26 12:45:10 +0000
commit31c422299de16868143a95da97f8de33e7a2880d (patch)
tree443216b094de56578404498106179ce4d0a3478d
parentaba557a13cd1099ade8cd5c2bf7a109df3c6d77f (diff)
downloadzsh-31c422299de16868143a95da97f8de33e7a2880d.tar.gz
zsh-31c422299de16868143a95da97f8de33e7a2880d.tar.xz
zsh-31c422299de16868143a95da97f8de33e7a2880d.zip
29859: compadd handles its own options
-rw-r--r--ChangeLog6
-rw-r--r--Src/Zle/complete.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a5abb669e..a44700bbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-26  Peter Stephenson  <pws@csr.com>
+
+	* 29859: Src/Zle/Complete.c: compadd handles its own options.
+
 2011-10-24  Peter Stephenson  <pws@csr.com>
 
 	* Jérémie Roquet: c.f. users/16541: Doc/Zsh/cond.yo:
@@ -15500,5 +15504,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5484 $
+* $Revision: 1.5485 $
 *****************************************************
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c
index 6398fd3e7..ea5e41f5f 100644
--- a/Src/Zle/complete.c
+++ b/Src/Zle/complete.c
@@ -1544,7 +1544,7 @@ cond_range(char **a, int id)
 }
 
 static struct builtin bintab[] = {
-    BUILTIN("compadd", 0, bin_compadd, 0, -1, 0, NULL, NULL),
+    BUILTIN("compadd", BINF_HANDLES_OPTS, bin_compadd, 0, -1, 0, NULL, NULL),
     BUILTIN("compset", 0, bin_compset, 1, 3, 0, NULL, NULL),
 };