Re: zparseopts no longer accepts long options

dana <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.