Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] getopts OPTIND
- X-seq: zsh-workers 48779
- From: dana <dana@xxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>, franciscodezuviria@xxxxxxxxx
- Subject: Re: [BUG] getopts OPTIND
- Date: Mon, 3 May 2021 18:38:39 -0500
- Archived-at: <https://zsh.org/workers/48779>
- In-reply-to: <20210420213104.GB1035@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <CA++-COw=KgUBJc1PMq=L5be2VeJGXBjwtsRfRx7+7GSMspcQJQ@mail.gmail.com> <0877C4E8-4CA3-453F-A16B-99E576F60E8D@dana.is> <C8AAF10F-8FF7-47D6-8760-5960D62E91F7@dana.is> <20210414130802.GF3882@tarpaulin.shahaf.local2> <1EB88C27-FA4E-4B1F-AEBD-15C2FFC21F95@dana.is> <20210420213104.GB1035@tarpaulin.shahaf.local2>
On 20 Apr 2021, at 16:31, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> Yeah, but OPTIND still gets printed, so it does test *something*.
That's true. I'm not sure what guarantees there are about the state of OPTIND
when this test runs, though, so i ended up leaving it out. We can add it later
if you want
Anyway, i've committed this now, with the rest of the feedback + a mention in
README. Sorry i lost track of it before
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author