From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4739 invoked from network); 12 Oct 2008 09:24:50 -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=-1.2 required=5.0 tests=AWL autolearn=unavailable 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; 12 Oct 2008 09:24:50 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 74227 invoked from network); 12 Oct 2008 09:24:43 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Oct 2008 09:24:43 -0000 Received: (qmail 15658 invoked by alias); 12 Oct 2008 09:24:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25856 Received: (qmail 15629 invoked from network); 12 Oct 2008 09:24:27 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 12 Oct 2008 09:24:27 -0000 Received: from smtp.bredband2.net (mail.bredband2.net [82.209.166.4]) by bifrost.dotsrc.org (Postfix) with ESMTP id AA24980524C0 for ; Sun, 12 Oct 2008 11:24:23 +0200 (CEST) Received: (qmail 8667 invoked from network); 12 Oct 2008 09:26:24 -0000 Received: from lkf-194-200-233-83.3.cust.bredband2.com (HELO mika.l3ib.org) ([83.233.200.194]) (envelope-sender ) by smtp.bredband2.net (qmail-ldap-1.03) with SMTP for ; 12 Oct 2008 09:26:24 -0000 Date: Sun, 12 Oct 2008 11:24:23 +0200 (CEST) From: Mikael Magnusson To: zsh workers Subject: [PATCH 2/2] Fix typos in completion style guide. In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (LNX ) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: ClamAV 0.92.1/8414/Sun Oct 12 05:30:50 2008 on bifrost X-Virus-Status: Clean --- Etc/completion-style-guide | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Etc/completion-style-guide b/Etc/completion-style-guide index ec4efe2..b5de16f 100644 --- a/Etc/completion-style-guide +++ b/Etc/completion-style-guide @@ -8,7 +8,7 @@ to be distributed as part of zsh to maintain a level of consistency. Coding style: * Use two spaces for indentation and four for continuation lines except - where there are many continutation lines such as `_arguments' or + where there are many continuation lines such as `_arguments' or `_values' specs. Lines tend to be longer than in C code so less indentation makes sense. @@ -46,7 +46,7 @@ where default values or units are indicated. Do not put them in per-match descriptions; they are better placed in the group descriptions. Put the units in parentheses after the description. So for example, do not use: - '--timeout[specifiy connection timeout in milliseconds]:timeout' + '--timeout[specify connection timeout in milliseconds]:timeout' but use: '--timeout[specify connection timeout]:timeout (ms)' @@ -63,7 +63,7 @@ itsa meee, maaario Where two matches have identical meaning, give them the same description so that the completion system can group them together. -Conventionally a brace exapansion of this form is used: +Conventionally a brace expansion of this form is used: '(--context,-C)'{--context=,-C-}'[specify lines of context]:lines' You won't need the exclusion list if the option can be specified multiple times. It can also be useful to use the same description for -- 1.6.0.2.GIT -- Mikael Magnusson