From 951a739dfe48e6d8f6f3d7f4f18e8b9382c29ab6 Mon Sep 17 00:00:00 2001 From: jacob314 Date: Sat, 6 Sep 2025 20:36:12 -0700 Subject: [PATCH] Mention replacements for deprecated settings in settings.json --- packages/cli/src/config/config.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts index 1018cb1dc01..a911518a87b 100755 --- a/packages/cli/src/config/config.ts +++ b/packages/cli/src/config/config.ts @@ -236,43 +236,43 @@ export async function parseArguments(settings: Settings): Promise { }) .deprecateOption( 'telemetry', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "telemetry.enabled" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'telemetry-target', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "telemetry.target" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'telemetry-otlp-endpoint', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "telemetry.otlpEndpoint" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'telemetry-otlp-protocol', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "telemetry.otlpProtocol" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'telemetry-log-prompts', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "telemetry.logPrompts" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'telemetry-outfile', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "telemetry.outfile" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'show-memory-usage', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "ui.showMemoryUsage" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'sandbox-image', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "tools.sandbox" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'proxy', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "proxy" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'checkpointing', - 'Use settings.json instead. This flag will be removed in a future version.', + 'Use the "general.checkpointing.enabled" setting in settings.json instead. This flag will be removed in a future version.', ) .deprecateOption( 'all-files',