Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Convention question regarding completions
- X-seq: zsh-workers 26396
- From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxxxxx>
- Subject: Re: Convention question regarding completions
- Date: Wed, 21 Jan 2009 18:11:49 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=BNzN4oUuehQbbcdBBFUQ8LLjhWB4UAAZheAPA3QK4/w=; b=DIB54f9OMDyG/hf+4gaOv76OS9BRjByFzkvg/E3pr8m1jwZIATbTlYWhLlEE0CKRSN 4rC6ZPMcwHV/B8nEPRycmMH5bLybJqNYRRRCtmzhAaxTlWmAsZApz8JDhPI20WBnQCX0 UiXh2PRwDbTOl8NAKgxywj9plfLAgtozgB61M=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cAsel68R5PZdnjGXoQNGWVN2nkLPrBs4Thju5HPt9lkAb/anCiF7fIlRaMQCmOppgy AN+TRE1r1HMOPmde9hKS3077j0z5XtCXvdjujtqTi1wcQ5zz50uwGAeM4ow1aQeTkw0f CvucPy4Kzp1lRbRl6kLCGSsI7YmA+CojRpixg=
- In-reply-to: <2d460de70901100115x129a6405md5ca6ca8d1629c5c@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70901100115x129a6405md5ca6ca8d1629c5c@xxxxxxxxxxxxxx>
Bump.
On Sat, Jan 10, 2009 at 10:15, Richard Hartmann
<richih.mailinglist@xxxxxxxxx> wrote:
> Hi all,
>
> when writing completions, should I XAND only the options
> which are really mutually exclusive like
>
> tar x
> tar c
>
> or should I XAND the ones which won't work but won't hurt,
> either like
>
> --verbose
> --quiet
>
> or should I XAND even the ones which become superfluous
> like the second option in
>
> deluser --remove-all-files
> deluser --remove-home
>
> ?
>
> Personally, I lean towards the third, i.e. most inclusive
> XAND rule, but I am interested what the others think.
>
>
> Richard
>
> PS: Just in case it's not clear from context what I mean
> by XAND:
>
> '(x)c[create a new archive]'
> '(c)x[extract files from an archive]'
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author