# fmt: Refactor the arg fetching code · gitcafe/zig

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

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

Visibility: public

Requested revision: d27678fe83f8c7d61cc41c7300d68fe502dd4999

Requested commit: d27678fe83f8c7d61cc41c7300d68fe502dd4999

Commit: d27678fe83f8c7d61cc41c7300d68fe502dd4999

Tree: cbae08db94e94949f681d7a0246dabb951aa43c7

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
fmt: Refactor the arg fetching code

* Error out if the requested index is out-of-bound
* Tidy-up all the arg-related variables in a struct

```

## Parents

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

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