Use mcp as a --strict-config rejection example (#65355)

GitOrigin-RevId: 50862a09a12dfc475a380880eb1b213faffaead4
This commit is contained in:
yansenzhou-oai
2026-12-02 23:26:21 +00:00
committed by copyberry
parent 40f961b069
commit 5b3615f1fe
+1 -1
View File
@@ -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<Subcommand>,