Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zparseopts no longer accepts long options
On Fri 1 May 2026, at 12:09, Vin Shelton wrote:
> smaug% zparseopts -D -E -extra=arg1
> zparseopts: bad option: -e
this is due to w/54376, which changed zparseopts to use the standard
option-parsing facilities. in short you now need to protect long-option
specs with - or -- as in `zparseopts -D -E - -extra=arg1`
(this is ofc mentioned as an incompatibility in the README)
i laid out my thinking for this in the post and didn't get any
objections there or on irc, but lmk if you want to discuss further
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author