# stage2: Fix arg processing for zig run · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/87807d53dd711d0452e6e963243986c7d885e987)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 87807d53dd711d0452e6e963243986c7d885e987

Requested commit: 87807d53dd711d0452e6e963243986c7d885e987

Commit: 87807d53dd711d0452e6e963243986c7d885e987

Tree: 14bd3385367dab1f430535323e324818e9e3f9a5

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
stage2: Fix arg processing for zig run

* Stop parsing arguments after `--`
* Calculate the correct index for the first argument after `--`

```

## Parents

- [58502b8bfec51f04ad12ec65b0d52452e179256a](https://git.cafe/gitcafe/zig/commit/58502b8bfec51f04ad12ec65b0d52452e179256a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/87807d53dd711d0452e6e963243986c7d885e987?format=markdown)
