help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Oliver Kiddle <opk@zsh.org>
Cc: Marlon Richert <marlon.richert@gmail.com>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Completion: How to show description for current option?
Date: Thu, 2 Sep 2021 13:41:54 -0700	[thread overview]
Message-ID: <CAH+w=7bgzz+RauHz8BnAV7EZ0+qz+8f8PvUX++W4aNtNCi5Eqg@mail.gmail.com> (raw)
In-Reply-To: <39387-1630613338.989690@_LKB.nzf7.4sbx>

On Thu, Sep 2, 2021 at 1:27 PM Oliver Kiddle <opk@zsh.org> wrote:
> The comparguments -O has decided that there are no possible completion
> matches which is arguably true because -c is already there and, because
> we passed -s to _arguments, it is now trying to complete further options

To rephrase this in English, one step up the chain, the difficulty is
that we've told _arguments that short options can be stacked, so -c
could just be the first in a string of single letter options all in
the same shell word.

      reply	other threads:[~2021-09-02 20:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-31 11:03 Marlon Richert
2021-08-31 11:11 ` Roman Perepelitsa
2021-08-31 17:22   ` Bart Schaefer
2021-08-31 17:39     ` Roman Perepelitsa
2021-09-01  0:23     ` Bart Schaefer
2021-09-01 11:27       ` Marlon Richert
2021-09-02 20:08 ` Oliver Kiddle
2021-09-02 20:41   ` Bart Schaefer [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7bgzz+RauHz8BnAV7EZ0+qz+8f8PvUX++W4aNtNCi5Eqg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=marlon.richert@gmail.com \
    --cc=opk@zsh.org \
    --cc=zsh-users@zsh.org \


* 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


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).