Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: strange behaviour of zparseopts
- X-seq: zsh-users 26720
- From: Roger Mason <rmason@xxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: strange behaviour of zparseopts
- Date: Fri, 07 May 2021 14:56:03 -0230
- Archived-at: <https://zsh.org/users/26720>
- In-reply-to: <cc4951e5-0514-4bbc-a83c-ef41b9605220@www.fastmail.com>
- Ironport-hdrordr: A9a23:WLboCqFI8DrLflX3pLqF2pHXdLJyesId70hD6qkvc3Fom52j/fxGws5x6fatskdoZJhSo6H6BEDgewKWyXcR2+Us1NiZLW3bUQeTTb2KqLGSugEIeBeOvNK1t50QFJSWYeeYZTcVsS+52njfLz9K+qjlzEncv5a6854bd3AJV0gP1WdEIzfeNnczaBhNBJI/GpbZzNFAvSCcdXMeadn+LmUZXsDYzue72K7OUFojPVoK+QOOhTSn5PrRCB6DxCoTVDtJ3PML7XXFqQrk/a+u2svLhSM0llWjoai+quGRiuerN/b8yfT97Q+cyDpAUb4RGoFqegpF5d1Hpmxa1OUk6C1QRfibo0mhA11d5yGdljUImQxel0PK2BuWh2Durtf+Qy9/A81dhZhBeh+c8EY4uspguZg7qV5xmqAneS8oph6NkOQglisa5XZcqkBS2NL7T0YvJLf2TYUh5bD30HklYavoLRiKmrzPStMecv00zMwmAW9yQUqpwVVS/A==
- Ironport-sdr: t45tXVg30HzftIq5ql1rb40x9SfItW1BIdV4FZDWttWLmDIlQwHiU5hXROPpKFePfyaSD7yGze PDmYoJPqH1vjoeKqaYra55bYVaBJsjObZV2CnpcENTPEGLKOt9fCsEtyRry5QCWPGaRJniS4Qs jGptiviK7Jo8xRoG14VDKAQggcxgSo8KwHcqmOiYTGSLxuqWkzB04Gl5Jt7UWrEr42+PkTx+VX DOB98pFJpiCpRIL/osOhE7fX1uH8/mZbDxsCpyqq/gm0zlcH8FzhiAQlS/YEZm+qtKKgHxiPLd wEg=
- List-id: <zsh-users.zsh.org>
- References: <y65h7jeq1iy.fsf@mun.ca> <cc4951e5-0514-4bbc-a83c-ef41b9605220@www.fastmail.com>
Daniel Shahaf writes:
> The «-actype» is interpreted as the «-a» option to zparseopts. Add a «-» end-of-options guard before it.
Mikael Magnusson writes:
>I'm reasonably sure you just want
> zparseopts -D -E -A elkopts - -actype:
Thank you both, that was indeed the problem. My sanity is restored.
Roger
Messages sorted by:
Reverse Date,
Date,
Thread,
Author