Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion for aplay from alsa-utils
- X-seq: zsh-workers 44916
- From: dana <dana@xxxxxxx>
- To: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- Subject: Re: Completion for aplay from alsa-utils
- Date: Thu, 21 Nov 2019 21:05:45 -0600
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QDpgXxqp/MNMbdQUx7JYLiok+C7qIBJApx4kXftHbqM=; b=mxe0jt0n7B6LL3wITlWfkdcdJqfnpNKq5RQJpip9kxAHO4Fk3QHZkntyJKPCnRoA2H 6sxGKBFLeph21fbUwNSY8d2TqICzwyIdM2LSLgN7NEpyuVup4wVXYjbcOQ3pmMIjS4r3 KMSBzicbdotIF8PjCGt0SIGRI1//05v3rvfW7dUhyj3Kl+nRwQit8ZzCE/GmBEdLe+dA m2Z46bJsBVu1UKYO32Ti0Ph2O99Js0+iP625MZgvHT7Fgu3ME2CtzccVq/TxTtCQp3oN INo5gscVNygDLyUdycPpsCGj+Ln9y3dd7GzuQsxtRE+MV61/Jo8uE7Idw8M558hUsCRH B/1A==
- In-reply-to: <CAKc7PVDYErjZovuYmyaEH8EfgFibwwarac33t6EchYdrNZuW6w@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVArm7cgptJrBaHhe0R=J5M9m8MeiCqLGESN3nu6TdW8bQ@mail.gmail.com> <EE6F9F27-FFCB-4D88-91E7-C0EE5CF33C4D@dana.is> <CAKc7PVDYErjZovuYmyaEH8EfgFibwwarac33t6EchYdrNZuW6w@mail.gmail.com>
On 21 Nov 2019, at 17:10, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> > * There are no exclusions for any of the alias options (e.g., -D and --device
> > should be exclusive)
>
> How to add them?
'(-D --device)' (or whatever) at the beginning of the arg spec
On 21 Nov 2019, at 17:10, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> --file-type and --process-id-file take arguments without =. How to add
> arguments to their spec, should it be +?
I don't know why they're formatted differently in the help output, but AFAICT
they're all the same, they all use the normal getopt_long() syntax for options
with arguments
On 21 Nov 2019, at 17:10, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> > * -v is cumulative, but there is no * in the spec
>
> What do you mean?
-v can be supplied multiple times, which your description mentions, but
without a * near the beginning of the arg spec it will only be completed once
at most
The spec syntax is described under the _arguments section in zshcompsys, if
you're unfamiliar
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author