From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 6cf90691 for ; Fri, 22 Nov 2019 03:06:33 +0000 (UTC) Received: (qmail 26862 invoked by alias); 22 Nov 2019 03:06:25 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44916 Received: (qmail 9926 invoked by uid 1010); 22 Nov 2019 03:06:25 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f41.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25635. spamassassin: 3.4.2. Clear:RC:0(209.85.166.41):SA:0(-1.9/5.0):. Processed in 3.29579 secs); 22 Nov 2019 03:06:25 -0000 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.41 as permitted sender) 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QDpgXxqp/MNMbdQUx7JYLiok+C7qIBJApx4kXftHbqM=; b=FJZeFxEpqzrFYnARtTXaRVjJjN7MTKIJJPQ7ZWzDMtW1/yy8X16ZfQs+UgSrAtQwdw ocj6JGmU5eL25nC70RU7/SSy3FgsF3JtS7ubti2V9zKxRy8WXuMSm7lAguDiUVNbywnv gIxwIeMJVEkKdKSb4/5V6tbhAYJ0ajvqWq8deHmRkWTuM6+ZpmVZ7QaJX8OXx3pOCSvo b44ji1JguYuT16RxTRevn9fv3tpQzuFR5z974ShlMcCwFJfJQdzi7n/r/I99mZJ6CZbd DJ7HDUyer7eDQuyWn6URzYHArc/kxJj1TDZN6JeK9vEAMqpVY+HpeqTi3T3o2oTVZxu4 40Gw== X-Gm-Message-State: APjAAAVMC70V2UR+8BbponipkmNSmYrdg3jowR8SrKkqF+705HqhtAla nJxIPMi2PzMCi3yhnUaVnz2fgg== X-Google-Smtp-Source: APXvYqzECBkjKbBmrJc4MLnxOwg9JRwLJ3IwY+Ia4wySyEph33DY7dJko6YIkGNvyaxoTyuNsRojmw== X-Received: by 2002:a5e:c204:: with SMTP id v4mr7066313iop.106.1574391948131; Thu, 21 Nov 2019 19:05:48 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Completion for aplay from alsa-utils From: dana In-Reply-To: Date: Thu, 21 Nov 2019 21:05:45 -0600 Cc: Zsh hackers list Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Sebastian Gniazdowski X-Mailer: Apple Mail (2.3445.104.11) On 21 Nov 2019, at 17:10, Sebastian Gniazdowski = 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 = wrote: > --file-type and --process-id-file take arguments without =3D. 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 = 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