summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-02-12 18:43:54 +0000
committerClint Adams <clint@users.sourceforge.net>2009-02-12 18:43:54 +0000
commit6ddb18ce290ace1f50b581adb63e2658728c95bf (patch)
treeddd7d524c2e272bdf8321632984a8ed26cee5d69
parent9e51292273f042ba1a3a7630c8557c2208ef9241 (diff)
downloadzsh-6ddb18ce290ace1f50b581adb63e2658728c95bf.tar.gz
zsh-6ddb18ce290ace1f50b581adb63e2658728c95bf.tar.xz
zsh-6ddb18ce290ace1f50b581adb63e2658728c95bf.zip
26565: fix breakage in 26482.
-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=(