Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
strange behaviour of zparseopts
- X-seq: zsh-users 26717
- From: Roger Mason <rmason@xxxxxx>
- To: zsh-users@xxxxxxx
- Subject: strange behaviour of zparseopts
- Date: Fri, 07 May 2021 08:00:29 -0230
- Archived-at: <https://zsh.org/users/26717>
- Ironport-hdrordr: A9a23:A4crWKNYi/0kkcBcTq+jsMiBIKoaSvp037BL7SxMoHNuE/Bw+/rEoB1573DJYV8qMRkdcLa7VpVoKkm3yXca2+QsAYs=
- Ironport-sdr: eh63NRXYFcI+c+r5q3sUMAQJExSwKjWq8UYKFdG5MbVfKq4s4tZTX2v4EZ2DRxmWPW/i9+OONq hLafwDhrmbbWJfhds1tnZtewk7CsB4KB1RNTRTc3OKpMz3pJuZ+QmCh3zi+GNsmt++PwZ2Cf3z cBgju/XxAoJuJBwAdHMMCItQ/ymTdGs7eTpRe1/SGO2b7+I1rKSO6S42HxwIK5gS9sbpWALaYC gdlnMvqro7XcudFxYNLLVl5aMr2A7M4hmSc5awLfPuv+yukwQV0AnjkhyQ2w17ukPPKaZDYYGU 8dY=
- List-id: <zsh-users.zsh.org>
Hello,
The following minimal example illustrates the problem I am having.
drat.sh
----------------------------------------------------------------------------------------------------------
#!/usr/local/bin/zsh -f
zparseopts -D -E -A elkopts -tasks: -maxthd: -scale: -xc: -mix: -scl: -spsource: -kx: -ky: -kz: -write: \
-quality:
zparseopts -D -E -A elkopts -actype:
----------------------------------------------------------------------------------------------------------
The first invocation of zparseopts works (no error is returned). The
second returns:
./drat.sh:zparseopts:7: missing option descriptions
Swapping the order of the invocations has no effect (beyond changing the
line number at which the error arises).
I'm running zsh-5.8 on freebsd-11.4.
Thanks for any help offered.
Roger
Messages sorted by:
Reverse Date,
Date,
Thread,
Author