zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _diff_options to use =-
@ 2000-05-15 23:45 Tanaka Akira
  0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2000-05-15 23:45 UTC (permalink / raw)
  To: zsh-workers

This patch modifies _diff_options to use =-.

Apart from that, I found another use of optional argument in _a2ps:

           "--pretty-print*::style:(${_a2ps_cache_values[1]})" \
           ...

But this is a description for automatic option detection.  Is there a
way to specify that it should use `=-'?

Index: Completion/User/_diff_options
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_diff_options,v
retrieving revision 1.4
diff -u -r1.4 _diff_options
--- Completion/User/_diff_options	2000/05/05 20:36:13	1.4
+++ Completion/User/_diff_options	2000/05/15 23:36:26
@@ -61,10 +61,10 @@
     '(--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:" \
-- 
Tanaka Akira


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-15 23:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-15 23:45 PATCH: _diff_options to use =- Tanaka Akira

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).