about summary refs log tree commit diff
path: root/Completion/Unix/Command/_patch
diff options
context:
space:
mode:
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=(