From 3bd094b1bc6f7381ee9e003a8fccc645d73c7a22 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 29 Jan 2009 15:54:42 +0000 Subject: 26482: complete patch -U, --unified-reject-files, --global-reject-file. --- ChangeLog | 7 ++++++- Completion/Unix/Command/_patch | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f2376b878..247792554 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-29 Clint Adams + + * 26482: Completion/Unix/Command/_patch: complete patch -U, + --unified-reject-files, --global-reject-file. + 2009-01-29 Peter Stephenson * 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"} -- cgit 1.4.1