From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: [patch] _hg: completion for 'hg bookmarks'
Date: Thu, 24 Sep 2015 09:29:37 -0700 [thread overview]
Message-ID: <150924092937.ZM984@torch.brasslantern.com> (raw)
In-Reply-To: <20150924160550.GD1906@tarsus.local2>
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.
next prev parent reply other threads:[~2015-09-24 16:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-24 14:23 Christoph Mathys
2015-09-24 16:05 ` Daniel Shahaf
2015-09-24 16:29 ` Bart Schaefer [this message]
2015-09-24 22:17 ` Daniel Shahaf
2015-09-25 7:14 ` Christoph Mathys
2015-09-25 23:18 ` Daniel Shahaf
2015-09-26 0:23 ` Daniel Shahaf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=150924092937.ZM984@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).