# fix zig run to accept executable args · gitcafe/zig

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

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

Visibility: public

Requested revision: aa794eb621d328f8e96e3458602b926d610598ec

Requested commit: aa794eb621d328f8e96e3458602b926d610598ec

Commit: aa794eb621d328f8e96e3458602b926d610598ec

Tree: 83a5469cd05396cb5a2a15cd1cdecf8a59a192dc

Author: Michael Dusan

Committer: Andrew Kelley

## Message

```
fix zig run to accept executable args

The `--` double-hyphen is now used to end further `zig` processing
of command line options. All arguments after `--` will be passed
on to the executable. eg. `--help` will be passed on.

`zig run foo.zig -- --help`

closes #2148

```

## Parents

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

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