about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-05-15 23:45:30 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-05-15 23:45:30 +0000
commitd1f844209e073a352391239e26e4e80ece3fbef3 (patch)
tree1ef91a86fca9637d5062054de1e2a1c64c08c51e
parent072be45ee5b4dfbb03f924023aef51916be1f935 (diff)
downloadzsh-d1f844209e073a352391239e26e4e80ece3fbef3.tar.gz
zsh-d1f844209e073a352391239e26e4e80ece3fbef3.tar.xz
zsh-d1f844209e073a352391239e26e4e80ece3fbef3.zip
11393: Completion/User/_diff_options: use `=-'.
-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:" \