From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.dk
Subject: Re: Generating completion functions from XML
Date: Mon, 23 Jul 2001 12:56:41 +0200 (MET DST) [thread overview]
Message-ID: <200107231056.MAA12587@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: <Pine.SV4.4.33.0107230818300.20827-100000@itsrm2.mow.siemens.ru>
Andrej Borsenkow wrote:
> ...
>
> I really wish we had different notation for equivalent flags. Exclusion
> lists at this point are already overloaded and loko ugly (most important,
> tgey force us to repeat the whole line). Consider
>
> -b, --binary
> -t, --text
>
> where two lines are obviously incompatible. You can't write it using brace
> notation; you need *four* lines! like
>
> (-b --binary -t)--text...
> (-b --binary --text)-t...
>
> O.K. it could be shrtened to two lines but then quoting becomes unnatural
> and too error prone.
In this case '(-b --binary -t --text)'-{-{text,binary},b,t}'...' would work.
Remember, an option without the `*' flag is mutually exclusive to itself
(internally it really just gets added to its exclusion list, so one
could just add it by hand).
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next prev parent reply other threads:[~2001-07-23 10:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-21 1:16 Felix Rosencrantz
2001-07-21 13:54 ` Oliver Kiddle
2001-07-22 20:34 ` Felix Rosencrantz
2001-07-23 4:25 ` Andrej Borsenkow
2001-07-23 10:56 ` Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-07-19 1:52 Felix Rosencrantz
2001-07-19 8:56 ` Sven Wischnowsky
2001-07-19 15:48 ` Bart Schaefer
2001-07-19 18:42 ` Adam Spiers
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=200107231056.MAA12587@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.dk \
/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).