zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers <zsh-workers@zsh.org>
Subject: Re: PATCH: Make _xset complete more helpfully
Date: Thu, 12 May 2011 11:29:08 -0700	[thread overview]
Message-ID: <110512112910.ZM14052@torch.brasslantern.com> (raw)
In-Reply-To: <BANLkTi=90nTp37hEfiN-vqTctk97uneRjA@mail.gmail.com>

On May 12,  7:40pm, Mikael Magnusson wrote:
}
} Okay, I'll commit that then. So this means passing -o and non-option
} arguments is incorrect, as it is quite hard to type the leading - of a
} word that starts with a letter?

Seems so, yes.

} Reading the man page entry for
} _describe I get the impression it is supposed to show non-option
} arguments only as long as you don't type a -

Well, it says

     If the option `-o' appears before the first argument, the matches
     added will be treated as names of command options ...

So even if you add something that doesn't have a leading -, it's
treated as if it was supposed to have a leading -.  I guess you're
supposed to separate the option arguments from the non-option ones
and use _alternative so they have different tags.

-- 


      reply	other threads:[~2011-05-12 18:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 16:59 Mikael Magnusson
2011-05-12 17:14 ` Bart Schaefer
2011-05-12 17:22   ` Bart Schaefer
2011-05-12 17:40     ` Mikael Magnusson
2011-05-12 18:29       ` 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=110512112910.ZM14052@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.vuxu.org/mirror/zsh/

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