From: Roger Mason <rmason@mun.ca>
To: zsh-users@zsh.org
Subject: Re: zpasesopts problem
Date: Thu, 03 Jun 2021 06:54:00 -0230 [thread overview]
Message-ID: <y65v96vcndb.fsf@mun.ca> (raw)
In-Reply-To: <288c0ad81dd2380ac41271e0cd7e44b4@vivaldi.net>
gammafunction@vivaldi.net writes:
>
> It's not shift, it's another zparseopts instance which is affecting your
> `$argv`.
>
>> # ngridk. Needs special handling b/c it is an array. For some reason
>> # I could not get text like '1 1 1' to load into postgresql correctly.
>> zparseopts -D -E -A intarrays - -ngridk: -xctype:
>> zparseopts -D -E -A elkbools - $elkbools
>> zparseopts -D -E -A elkfloats - $elkfloats
>> zparseopts -D -E -A elkints - $elkints
>> zparseopts -D -E -A elktexts - $elktexts
>>
>
> Check these, it may be that one of the $elk*s contains the word
> `-symbol`
> and thus your `--symbol` flag gets `-D`eleted here. Add this just before
> these zparseopts calls:
>
> typeset -mp 'elk*s'
Please ignore my previous message. That does indeed seem to be the
problem.
Many thanks,
Roger
prev parent reply other threads:[~2021-06-03 9:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-02 16:14 Roger Mason
2021-06-02 17:00 ` Stephane Chazelas
2021-06-02 17:23 ` Roger Mason
2021-06-02 20:30 ` gammafunction
2021-06-03 9:24 ` Roger Mason [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=y65v96vcndb.fsf@mun.ca \
--to=rmason@mun.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).