From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1638 invoked by alias); 24 Sep 2015 16:29:42 -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: 36618 Received: (qmail 18477 invoked from network); 24 Sep 2015 16:29:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=Ie6hO0g5VbTHkYUQcrXisIjlI6c/irfJrB1P0yx32Go=; b=BxByZPtcZk+CAwGPjXgsPruR2PMR0G/rf/xd1Pe922eusVZczsBkn+r4Z98NIE+wrT pPPZeL00nDlLnr9fni2oHQUdRGX1fslNm7I3wgUjSvDWwTyO/BzOSeknUYllwJBlDCPu RQpVUCs+zdK4HtPI7K4FJ8iq+G1NNDNWDEWo0sT/LsXENuPOvC5hu+7WDEIpk6lNDJuN bKnQY/lZK4fI11hYl5kDc/ukWr6V1u9dcGbBe9+LpebFd/MqJmGObixs5+xipXKVoKnH 4Cfc+x2Tl/1eMsfw6fYf8mxBbAHnZrHj3yWi2s3t6ijEUZ3I6CFHiK/vjcb68SjeYnw2 wbDg== X-Gm-Message-State: ALoCoQmxDzTI3Cqp9nDk1nMin0mkUv6sky8RaSLZyg9g7QLUf/FJcclmYD+PMMMLu7J2TwhI2YxK X-Received: by 10.202.108.81 with SMTP id h78mr365027oic.86.1443112180285; Thu, 24 Sep 2015 09:29:40 -0700 (PDT) From: Bart Schaefer Message-Id: <150924092937.ZM984@torch.brasslantern.com> Date: Thu, 24 Sep 2015 09:29:37 -0700 In-Reply-To: <20150924160550.GD1906@tarsus.local2> Comments: In reply to Daniel Shahaf "Re: [patch] _hg: completion for 'hg bookmarks'" (Sep 24, 4:05pm) References: <20150924160550.GD1906@tarsus.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [patch] _hg: completion for 'hg bookmarks' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 24, 4:05pm, Daniel Shahaf wrote: } } 3. Why do you have a leading '-' on the first and last line? Is it } intentional? It is possible to specify multiple sets of options and arguments with the sets separated by single hyphens. The specifications before the first hyphen (if any) are shared by all the remaining sets. The first word in every other set provides a name for the set which may appear in exclusion lists in specifications, either alone or before one of the possible values described above. In the second case a `-' should appear between this name and the remainder. [...] If the name given for one of the mutually exclusive sets is of the form `(NAME)' then only one value from each set will ever be completed; more formally, all specifications are mutually exclusive to all other specifications in the same set. This is useful for defining multiple sets of options which are mutually exclusive and in which the options are aliases for each other.