# CLI: actually fix translate-c creating root progress node twice · gitcafe/zig

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

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

Visibility: public

Requested revision: 5bdfe22092716d0e590979a678a3f5bf715439e9

Requested commit: 5bdfe22092716d0e590979a678a3f5bf715439e9

Commit: 5bdfe22092716d0e590979a678a3f5bf715439e9

Tree: 770048e8a4d237e384e3e9b4209ebb3f9d32c9c7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
CLI: actually fix translate-c creating root progress node twice

7281cc1d839da6e84bb76fadb2c1eafc22a82df7 did not solve the problem
because even when Node.index is none, it still counts as initializing
the global Progress object. Just use a normal zig optional, and all is
good.

```

## Parents

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

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