Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zpasesopts problem



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