# Add \-\-color CLI option to zig fmt · gitcafe/zig

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

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

Visibility: public

Requested revision: a05acaf9fd8ea1b42ec300ce4ba948ac00b89d76

Requested commit: a05acaf9fd8ea1b42ec300ce4ba948ac00b89d76

Commit: a05acaf9fd8ea1b42ec300ce4ba948ac00b89d76

Tree: 5d10ed6f6c238c6d8ffd56f9f0df2042c01aab99

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Add --color CLI option to zig fmt

It doesn't actually do terminal color yet because we need to add
cross platform terminal color abstractions. But it toggles between
the single line error reporting and the multiline error reporting.

See #1026

```

## Parents

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

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