docs: duplicate -q --json call in example cli reference

Resolved 💬 2 comments Opened Apr 29, 2025 by agustif Closed Aug 7, 2025

What is the type of issue?

_No response_

What is the issue?

the example uses both -q and --json which are contradictory flags, (the implementation it's also broken, but that's another thing)

https://github.com/openai/codex/pull/736

Where did you find it?

its on the main README.md https://github.com/openai/codex/blob/main/README.md

View original on GitHub ↗

2 Comments

Riofd · 1 year ago

The same problem, I guess the --json config was broken.

codex-maintainers · 1 year ago

Thanks for the feedback! Please try again on the latest version of Codex CLI. If the issue persists, consider opening a PR to the codex-rs/ implementation. More details here: https://github.com/openai/codex/discussions/1174.