From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16881 invoked from network); 19 Jan 2009 04:22:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Jan 2009 04:22:31 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 18802 invoked from network); 19 Jan 2009 04:22:26 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Jan 2009 04:22:26 -0000 Received: (qmail 20888 invoked by alias); 19 Jan 2009 04:22:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26361 Received: (qmail 20878 invoked from network); 19 Jan 2009 04:22:20 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Jan 2009 04:22:20 -0000 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by bifrost.dotsrc.org (Postfix) with ESMTP id 568D480271F0 for ; Mon, 19 Jan 2009 05:22:15 +0100 (CET) Received: by wf-out-1314.google.com with SMTP id 29so2890180wff.3 for ; Sun, 18 Jan 2009 20:22:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=SNlZ/fjMHyTYOsmDHwZndnS4UuAPN7p9PEb5lzuqZ+s=; b=hZX2ybyqYGOVI+s7bh0FXgAwNSpXM/LmQk2w50LYPa+SfKmt/EcvEgZZyNNWVzF/YW QDef47LoAN3fP28NS1SSLg7xn05o+YSv/ySowCxoOn7txulx50sVVeUpns/rqeiyPTMS gRzEc+8TrXIsjWsnhUQI/0IYc1LOe6SO4lRhs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=au6krUmKdgz2GAZjJqE0oD00BkzQdn+xV7truNwwAe9azSnVXVeG9glxZdsJE2gAeG nWyf5jHrB2EseKHNACfYfn6yis1yN/Ysm9j6WhCInfu+xuYawUw0whXKK0B8eFzoRIIB V4ESXO4hEqEyYhb/w2nb9RBPjLC0+6ESDO9OM= MIME-Version: 1.0 Received: by 10.142.140.14 with SMTP id n14mr1502222wfd.292.1232338934215; Sun, 18 Jan 2009 20:22:14 -0800 (PST) Date: Mon, 19 Jan 2009 15:22:14 +1100 Message-ID: <644fc65e0901182022l1ae3507h6f57854f5eb07b75@mail.gmail.com> Subject: PATCH: update rake completion for version 0.8.3 From: Doug Kearns To: zsh-workers@sunsite.dk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8875/Mon Jan 19 01:02:33 2009 on bifrost X-Virus-Status: Clean Index: Completion/Unix/Command/_rake =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_rake,v retrieving revision 1.6 diff -u -r1.6 _rake --- Completion/Unix/Command/_rake 7 Aug 2006 03:25:31 -0000 1.6 +++ Completion/Unix/Command/_rake 19 Jan 2009 04:20:00 -0000 @@ -1,6 +1,6 @@ #compdef rake -# rake, version 0.6.0 +# rake, version 0.8.3 local curcontext="$curcontext" state line expl ret=1 typeset -A opt_args @@ -8,17 +8,23 @@ _arguments -C -s -S \ '(--classic-namespace -C)'{--classic-namespace,-C}'[put Task and FileTask in the top level namespace]' \ '(--dry-run -n)'{--dry-run,-n}'[do a dry run without executing actions]' \ - '(- *)'{--help,-H}'[display help information]' \ + '(- *)'{--describe,-D}'[describe the tasks (matching the specified pattern), then exit]:pattern::' \ + '(--execute -e)'{--execute,-e}'[execute some Ruby code and exit]:Ruby code:' \ + '(--execute-print -p)'{--execute-print,-p}'[execute some Ruby code, print the result, then exit]:Ruby code:' \ + '(--execute-continue -E)'{--execute-continue,-E}'[execute some Ruby code, then continue with normal task processing]:Ruby + '(- *)'{--help,-h,-H}'[display help information]' \ \*{--libdir,-I}'[include specified directory in the search path for required modules]:library directory:_files -/' \ + '(--rakelibdir --rakelib -R)'{--rakelibdir,--rakelib,-R}'[auto-import any .rake files in the specified directory. (default '(--nosearch -N)'{--nosearch,-N}'[do not search parent directories for the Rakefile]' \ '(- *)'{--prereqs,-P}'[display the tasks and prerequisites, then exit]' \ '(--quiet -q --silent -s --verbose -v)'{--quiet,-q}'[do not log messages to standard output]' \ '(--rakefile -f)'{--rakefile,-f}'[use specified file as the rakefile]:rake file:_files' \ \*{--require,-r}'[require specified module before executing rakefile]:library:->library' \ + '(- *)--rules[trace the rules resolution]' \ '(--quiet -q --silent -s --verbose -v)'{--silent,-s}"[like --quiet, but also suppresses the 'in directory' announcement]" - '(- *)'{--tasks,-T}'[display the tasks and dependencies, then exit]' \ + '(--system,-g)'{--system,-g}'[using system wide (global) rakefiles (usually '~/.rake/*.rake')]' \ + '(- *)'{--tasks,-T}'[display the tasks (matching the specified pattern) with descriptions, then exit]:pattern::' \ '(--trace -t)'{--trace,-t}'[turn on invoke/execute tracing, enable full backtrace]' \ - '(- *)'{--usage,-h}'[display usage information]' \ '(--quiet -q --silent -s --verbose -v)'{--verbose,-v}'[log message to standard output (default)]' \ '(- *)'{--version,-V}'[display version information]' \ '*:target:->target' && ret=0