Subject: Re: Advanced option parsing across zsh commands
From: Bart Schaefer <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Tue, 26 Jan 2016 23:07:27 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Jan 26,  8:09pm, Sebastian Gniazdowski wrote:
}
} Here is how it works if order of option specification is changed:
} 
} % zparseopts -a optsa -A opts -D -E +: b: c

All you've done there is manage to get the empty-string option to
be tested after any of the others (the specs are tested against
$argv in reverse of the order they appear as zparseopts arguments).
It's almost certainly coincidental that this created options that
seem to be named "-" and assigned "+X" as the value; this effect
no longer occurs with my patch from 37810, and is probably not
reliable with any zsh prior to that patch.