Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zpasesopts problem
- X-seq: zsh-users 26763
- From: Roger Mason <rmason@xxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: zpasesopts problem
- Date: Thu, 03 Jun 2021 06:54:00 -0230
- Archived-at: <https://zsh.org/users/26763>
- In-reply-to: <288c0ad81dd2380ac41271e0cd7e44b4@vivaldi.net>
- Ironport-hdrordr: A9a23:oVXviKj89H9zvdaynXCfE5ENfXBQXt4ji2hC6mlwRA09TyX4rbHNoB11737JYVoqNU0IudfFI6WYRGOZ6Jgd2+cs1NSZLWrbUQmTTL2KhLGKqwEIWReUygc378hdmsZFZOHYMUJ3loLz7gW+Dr8bquW6zA==
- Ironport-sdr: K6hwSaa/Sdlq6l3ylppl7nxyYcK9f+GZSIRMk8wM1N4tvoxcgo2yZ1RUoZpn/l7IN5rn88zRFw GmvQGpFcT6VLZBoUhxJxrmoGw1zfQ+i6roXqHBq4AmTTyi9Z2/d+pRFkeagAituqeiO1t84qds 2NRogHUgd+XtrlPaLtGFWIYCItbcFpX5fUcPNnGIh5QHbgEV2JRd1psVbrCD0jvCMVshQZmi27 WcryYnNqsGuPyCXFyBFRgOUiEFL2AHrG1QHgtA0jKoFahJqvNFD8v6nCLumedTOxOzOlLo0lP9 6kw=
- List-id: <zsh-users.zsh.org>
- References: <y65lf7s1bwr.fsf@mun.ca> <20210602170052.jsrzn5374lxpxmwg@chazelas.org> <y65im2w18q8.fsf@mun.ca> <288c0ad81dd2380ac41271e0cd7e44b4@vivaldi.net>
gammafunction@xxxxxxxxxxx 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author