zsh-users
 help / color / mirror / code / Atom feed
* strange behaviour of zparseopts
@ 2021-05-07 10:30 Roger Mason
  2021-05-07 11:05 ` Daniel Shahaf
  2021-05-07 11:05 ` Mikael Magnusson
  0 siblings, 2 replies; 4+ messages in thread
From: Roger Mason @ 2021-05-07 10:30 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-08 18:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 10:30 strange behaviour of zparseopts Roger Mason
2021-05-07 11:05 ` Daniel Shahaf
2021-05-07 17:26   ` Roger Mason
2021-05-07 11:05 ` Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).