summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Command/_patch3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6448681aa..a8ed700ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-12  Clint Adams  <clint@zsh.org>
+
+	* 26565: Completion/Unix/Command/_patch: fix breakage in 26482.
+
 2009-02-12  Peter Stephenson  <pws@csr.com>
 
 	* 26560: Doc/Zsh/builtins.yo: document autoload -z/-k (finally).
@@ -11171,5 +11175,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4564 $                         
+* $Revision: 1.4565 $                         
 *****************************************************
diff --git a/Completion/Unix/Command/_patch b/Completion/Unix/Command/_patch
index 3c18cebb0..5024b6e4c 100644
--- a/Completion/Unix/Command/_patch
+++ b/Completion/Unix/Command/_patch
@@ -113,7 +113,8 @@ if (( ! $+_patch_args )); then
     '* --use-index-line *' '--use-index-line[deal with Index: line]'
     '* --patch-root=DIR *' '--patch-root=[restrict paths]:patch root:_files -/'
 
-    '* -U  --unified-reject-files *' '(-U --unified-reject-files)'{-U,--unified-reject-files}'[create unified reject files]'
+    '* -U *' '(--unified-reject-files)-U[create unified reject files]'
+    '* --unified-reject-files *' '(-U)--unified-reject-files}[create unified reject files]'
     '* --global-reject-file=file *' '--global-reject-file=[put all rejects into one file]:file:_files'
   )
   _patch_args=(