diff --git a/codex-rs/cli/src/main.rs b/codex-rs/cli/src/main.rs index 9aef22c0..8f59d2d4 100644 --- a/codex-rs/cli/src/main.rs +++ b/codex-rs/cli/src/main.rs @@ -27,7 +27,11 @@ use crate::proto::ProtoCli; author, version, // If a sub‑command is given, ignore requirements of the default args. - subcommand_negates_reqs = true + subcommand_negates_reqs = true, + // The executable is sometimes invoked via a platform‑specific name like + // `codex-x86_64-unknown-linux-musl`, but the help output should always use + // the generic `codex` command name that users run. + bin_name = "codex" )] struct MultitoolCli { #[clap(flatten)]