about summary refs log tree commit diff
path: root/Completion/Unix/Command/_patch
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 /Completion/Unix/Command/_patch
parent9e51292273f042ba1a3a7630c8557c2208ef9241 (diff)
downloadzsh-6ddb18ce290ace1f50b581adb63e2658728c95bf.tar.gz
zsh-6ddb18ce290ace1f50b581adb63e2658728c95bf.tar.xz
zsh-6ddb18ce290ace1f50b581adb63e2658728c95bf.zip
26565: fix breakage in 26482.
Diffstat (limited to 'Completion/Unix/Command/_patch')
-rw-r--r--Completion/Unix/Command/_patch3
1 files changed, 2 insertions, 1 deletions
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=(