Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Convention question regarding completions
- X-seq: zsh-workers 26277
- From: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxxxxx>
- Subject: Convention question regarding completions
- Date: Sat, 10 Jan 2009 10:15:49 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=vojEz9JfXM+TT0U8S708mtEFP/WXAk2ZePdAK+cydew=; b=v2U6aCbJq+f4qEL/JhFYiIm1HyQ1YwNJih27FTtzl9HmbKjkcneu39QILyriIwhp62 zT8o2rXZjvYBGq0OiSNpYol+DBLpkBEYdvRUehv0aMeduKCAmovDL7qP594z9Kdv4m// 51UCsahjQ9mb8/e2DdC7gc4Xx6/N0fjusP6Fw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=jGm5V28gM1x88dJ7+g4wmz3Q50mLBXOjLphF6k7J+EZ8w3gNSnjBD7N5yEJWScLUIC uWoSOdbWuZd1lilF73wxR4vsVT3EbkMvyskzHFWJ16g5ms/YmsPw9YDF61vYUwbdpVl1 Yp8nmKbtR0hSrEnnUI2H6BAu17UagJX+ft3xk=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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