Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#585812: zsh: xsltproc completion doesn't include --nodtdattr option



On Mon, Jun 14, 2010 at 02:54:10AM +0200, Vincent Lefevre wrote:
> "xsltproc --help" contains:
> 
> [...]
>         --nodtdattr do not default attributes from the DTD
> [...]
> 
> but this option isn't listed in the completion for xsltproc.
> The attached patch fixes this problem.


Index: Completion/Unix/Command/_xmlsoft
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_xmlsoft,v
retrieving revision 1.7
diff -u -r1.7 _xmlsoft
--- Completion/Unix/Command/_xmlsoft	21 Oct 2005 14:45:01 -0000	1.7
+++ Completion/Unix/Command/_xmlsoft	30 Jun 2010 12:51:56 -0000
@@ -14,6 +14,7 @@
       '--debug[dump the tree of the result instead]' \
       '--dumpextensions[dump registered extension elements and functions]' \
       '--novalid[skip the DTD loading phase]' \
+      '--nodtdattr[do not default attributes from the DTD]' \
       '--noout[do not dump the result]' \
       '--maxdepth[increase the maximum depth]:depth' \
       '--maxparsedepth[increase the maximum parser depth]:depth' \



Messages sorted by: Reverse Date, Date, Thread, Author