Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Improve error message from zparseopts -F
- X-seq: zsh-workers 47904
- From: Joshua Krusell <js.shirin@xxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Improve error message from zparseopts -F
- Date: Wed, 3 Feb 2021 16:06:38 +0100
- Archived-at: <https://zsh.org/workers/47904>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/20210203150638.vx3lgg7v4glll7ib%40ohr.localdomain>
- In-reply-to: <20210203112846.GC12261@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <20210202221728.371739-1-js.shirin@gmail.com> <20210203112846.GC12261@tarpaulin.shahaf.local2>
On 2021-02-03 at 11:28, Daniel Shahaf wrote:
> Haven't tested, but this sounds perfectly reasonable to me. If anything, I'd
> say go a step further and add the first minus sign as well: referring the the
> «--x» option as «-x» could be confusing (or even misleading, if there happens
> to actually be a -x option).
Sure, I can send another quick patch. Should also probably change the
missing argument error messages as well to be consistent.
/Joshua
Messages sorted by:
Reverse Date,
Date,
Thread,
Author