From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5062 invoked by alias); 30 Jun 2010 12:57:51 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28060 Received: (qmail 8632 invoked from network); 30 Jun 2010 12:57:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at debian.org does not designate permitted sender hosts) Date: Wed, 30 Jun 2010 12:52:24 +0000 From: Clint Adams To: Vincent Lefevre , 585812@bugs.debian.org Cc: zsh-workers@zsh.org Subject: Re: Bug#585812: zsh: xsltproc completion doesn't include --nodtdattr option Message-ID: <20100630125224.GA19486@scru.org> References: <20100614005410.GA4371@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100614005410.GA4371@xvii.vinc17.org> User-Agent: Mutt/1.5.18 (2008-05-17) 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' \