summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-01-29 15:54:42 +0000
committerClint Adams <clint@users.sourceforge.net>2009-01-29 15:54:42 +0000
commit3bd094b1bc6f7381ee9e003a8fccc645d73c7a22 (patch)
tree541815d79e575425719604c2d7c802c01d9aa1e0
parente92801a2c037cca76994f399a6f240e1ec6722d3 (diff)
downloadzsh-3bd094b1bc6f7381ee9e003a8fccc645d73c7a22.tar.gz
zsh-3bd094b1bc6f7381ee9e003a8fccc645d73c7a22.zip
26482: complete patch -U, --unified-reject-files, --global-reject-file.
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_patch3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f2376b878..247792554 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-29 Clint Adams <clint@zsh.org>
+
+ * 26482: Completion/Unix/Command/_patch: complete patch -U,
+ --unified-reject-files, --global-reject-file.
+
2009-01-29 Peter Stephenson <pws@csr.com>
* 26466: Src/Zle/compmatch.c: with suffix, bld_line() got
@@ -11028,5 +11033,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4530 $
+* $Revision: 1.4531 $
*****************************************************
diff --git a/Completion/Unix/Command/_patch b/Completion/Unix/Command/_patch
index c85720d1c..3c18cebb0 100644
--- a/Completion/Unix/Command/_patch
+++ b/Completion/Unix/Command/_patch
@@ -112,6 +112,9 @@ 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]'
+ '* --global-reject-file=file *' '--global-reject-file=[put all rejects into one file]:file:_files'
)
_patch_args=(
${arg:+"-s"}