about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Completion/User/_diff_options4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 837b4bc3b..d11a55fb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-05-15  Tanaka Akira  <akr@zsh.org>
 
+	* 11393: Completion/User/_diff_options: use `=-'.
+
 	* 11392: Completion/Core/_description: ignore-line fix.
 
 2000-05-15  Clint Adams  <schizo@debian.org>
diff --git a/Completion/User/_diff_options b/Completion/User/_diff_options
index 937b3b21e..b1629aa68 100644
--- a/Completion/User/_diff_options
+++ b/Completion/User/_diff_options
@@ -61,10 +61,10 @@ if [[ -n "$_is_gnu[$cmd]" ]]; then
     '(--ignore-matching-lines)-I+[ignore lines that match regex]:line exclusion regex:' \
     '(-a)--text[treat all files as text]' \
     '(--text)-a[treat all files as text]' \
-    "($of $oss)--context=[context diff]::number of lines of copied context:" \
+    "($of $oss)--context=-[context diff]:number of lines of copied context:" \
     "($of $oss)-C+[output a context diff]:number of lines of copied context:" \
     "($of $oss)-c[output a context diff]" \
-    "($of $oss)--unified=[output a unified diff]::number of lines of unified context:" \
+    "($of $oss)--unified=-[output a unified diff]:number of lines of unified context:" \
     "($of $oss)-U+[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:" \