about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2004-03-25 16:52:45 +0000
committerClint Adams <clint@users.sourceforge.net>2004-03-25 16:52:45 +0000
commit43513b428879d3c0ac0b3b101df5356a0788bb01 (patch)
treec87e2e00acb19fa3a74f4df8e84d780856cb88dd
parent99b38b2f54627ea568a823b7b9bf85467e1ada32 (diff)
downloadzsh-43513b428879d3c0ac0b3b101df5356a0788bb01.tar.gz
zsh-43513b428879d3c0ac0b3b101df5356a0788bb01.tar.xz
zsh-43513b428879d3c0ac0b3b101df5356a0788bb01.zip
* 19691: Completion/Unix/Type/_diff_options: Allow more than
 one --exclude or -x to diff.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_diff_options2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a65aa5a7d..5da29cf7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-25  Clint Adams  <clint@zsh.org>
+
+	* 19691: Completion/Unix/Type/_diff_options: Allow more than
+	one --exclude or -x to diff.
+
 2004-03-25  Peter Stephenson  <pws@csr.com>
 
 	* 19683: Src/utils.c: Work around occasional problem on
diff --git a/Completion/Unix/Type/_diff_options b/Completion/Unix/Type/_diff_options
index 34017d3d1..7a81f7848 100644
--- a/Completion/Unix/Type/_diff_options
+++ b/Completion/Unix/Type/_diff_options
@@ -90,7 +90,7 @@ if _pick_variant -c $cmd gnu=GNU unix -v; then
     '(-N --new-file)'{-N,--new-file}'[treat absent files as empty]' \
     '(-P --unidirectional-new-file)'{-P,--unidirectional-new-file}'[treat absent first files as empty]' \
     '(-s --report-identical-files)'{-s,--report-identical-files}'[report when two files are the same]' \
-    '(-x --exclude)'{-x+,--exclude=}'[exclude files matching pattern]:exclusion pattern' \
+    \*{-x+,--exclude=}'[exclude files matching pattern]:exclusion pattern' \
     '(-X --exclude-from)'{-X+,--exclude-from=}'[exclude files matching pattern in file]:exclude file:_files' \
     '(-S --starting-file)'{-S+,--starting-file=}'[set first file in comparison]:start with file:_files' \
     '(--to-file)--from-file=[compare specified file to all operands]:from file:_files' \