summary refs log tree commit diff
diff options
context:
space:
mode:
-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 5267b1893..ed3a96071 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-28  Clint Adams  <clint@zsh.org>
+
+	* 20414: Completion/Unix/Type/_diff_options: correct missing
+	minus in --unified, spotted by Paul Wagland.
+
 2004-09-27  Peter Stephenson  <pws@csr.com>
 
 	* unposted: Completion/Unix/Command/_perforce: when adding
diff --git a/Completion/Unix/Type/_diff_options b/Completion/Unix/Type/_diff_options
index 7a81f7848..a83042e88 100644
--- a/Completion/Unix/Type/_diff_options
+++ b/Completion/Unix/Type/_diff_options
@@ -55,7 +55,7 @@ if _pick_variant -c $cmd gnu=GNU unix -v; then
     '(-a --text)'{-a,--text}'[treat all files as text]' \
     "($of $oss)"{-C+,--context=-}'[output a context diff]:number of lines of copied context' \
     "($of $oss)-c[output a context diff]" \
-    "($of $oss)"{-U+,-unified=-}'[output a unified diff]:number of lines of unified context' \
+    "($of $oss)"{-U+,--unified=-}'[output a unified diff]:number of lines of unified context' \
     "($of $oss)-u[output a unified diff]" \
     "($ofwuc $oss)*"{-L+,--label=}'[set label to use instead of file name]:label' \
     "($ofwuc $oss -p --show-c-function)"{-p,--show-c-function}'[show C function of each change]' \