From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13491 invoked from network); 19 Aug 2007 11:04:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Aug 2007 11:04:37 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 97311 invoked from network); 19 Aug 2007 11:04:28 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Aug 2007 11:04:28 -0000 Received: (qmail 8636 invoked by alias); 19 Aug 2007 11:04:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23780 Received: (qmail 8626 invoked from network); 19 Aug 2007 11:04:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Aug 2007 11:04:25 -0000 Received: (qmail 97086 invoked from network); 19 Aug 2007 11:04:25 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 19 Aug 2007 11:04:22 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 449285CF32; Sun, 19 Aug 2007 07:04:20 -0400 (EDT) Date: Sun, 19 Aug 2007 07:04:21 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: _dput Message-ID: <20070819110421.GA9673@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-11) Instead of _hosts, this should parse the output of dput -H. Index: Completion/Debian/Command/_dput =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dput,v retrieving revision 1.5 diff -u -r1.5 _dput --- Completion/Debian/Command/_dput 6 Nov 2005 15:04:39 -0000 1.5 +++ Completion/Debian/Command/_dput 19 Aug 2007 11:02:11 -0000 @@ -4,11 +4,14 @@ '(-c --config)'{-c,--config}'[specify config file]:config file:_files' \ '(-d --debug)'{-d,--debug}'[debug mode]' \ '(-D --dinstall)'{-D,--dinstall}'[run dinstall after upload]' \ + '(-e --delayed)'{-E,--delayed}'number of days in delayed queue:(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)' \ '(-f --force)'{-f,--force}'[force upload of already uploaded package]' \ + '(-H --host-list)'{-H,--host-list}'[display host list]' \ '(-l --lintian)'{-l,--lintian}'[run lintian before upload]' \ '(-o --check-only)'{-o,--check-only}'[check the package, do not upload]' \ '(-p --print)'{-p,--print}'[print configuration]' \ '(-s --simulate)'{-s,--simulate}'[simulate an upload only]' \ '(-u --unchecked)'{-u,--unchecked}'[do not check GPG signature on the changes file]' \ '(-v --version)'{-v,--version}'[show version information]' \ + '1::host:_hosts' \ '*:changes file:_files -g "*.changes(-.)"'