From 5b3615f1fec4897a351e6b41fd64ec791ea0addb Mon Sep 17 00:00:00 2001 From: yansenzhou-oai Date: Wed, 2 Dec 2026 23:07:21 +0000 Subject: [PATCH] Use `mcp` as a `--strict-config` rejection example (#65355) GitOrigin-RevId: 50862a09a12dfc475a380880eb1b213faffaead4 --- codex-rs/cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/cli/src/main.rs b/codex-rs/cli/src/main.rs index 99c36ed006..22b7d02cbe 100644 --- a/codex-rs/cli/src/main.rs +++ b/codex-rs/cli/src/main.rs @@ -2394,7 +2394,7 @@ fn reject_root_strict_config_for_subcommand( /// unsupported subcommands need an explicit post-parse reject path. /// /// `Some(...)` returns the user-facing command name fragment to embed in the -/// rejection error, such as `cloud` or `app-server proxy`. `None` means the +/// rejection error, such as `mcp` or `app-server proxy`. `None` means the /// selected command is allowed to inherit root `--strict-config`. fn unsupported_subcommand_name_for_strict_config( subcommand: &Option,