diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts index a793d373..03ec676e 100755 --- a/packages/cli/src/config/config.ts +++ b/packages/cli/src/config/config.ts @@ -59,9 +59,7 @@ export interface CliArgs { prompt: string | undefined; promptInteractive: string | undefined; allFiles: boolean | undefined; - all_files: boolean | undefined; showMemoryUsage: boolean | undefined; - show_memory_usage: boolean | undefined; yolo: boolean | undefined; approvalMode: string | undefined; telemetry: boolean | undefined; @@ -127,29 +125,11 @@ export async function parseArguments(settings: Settings): Promise { description: 'Include ALL files in context?', default: false, }) - .option('all_files', { - type: 'boolean', - description: 'Include ALL files in context?', - default: false, - }) - .deprecateOption( - 'all_files', - 'Use --all-files instead. We will be removing --all_files in the coming weeks.', - ) .option('show-memory-usage', { type: 'boolean', description: 'Show memory usage in status bar', default: false, }) - .option('show_memory_usage', { - type: 'boolean', - description: 'Show memory usage in status bar', - default: false, - }) - .deprecateOption( - 'show_memory_usage', - 'Use --show-memory-usage instead. We will be removing --show_memory_usage in the coming weeks.', - ) .option('yolo', { alias: 'y', type: 'boolean', @@ -498,7 +478,7 @@ export async function loadCliConfig( settings.loadMemoryFromIncludeDirectories || false, debugMode, question, - fullContext: argv.allFiles || argv.all_files || false, + fullContext: argv.allFiles || false, coreTools: settings.coreTools || undefined, excludeTools, toolDiscoveryCommand: settings.toolDiscoveryCommand, @@ -508,11 +488,7 @@ export async function loadCliConfig( userMemory: memoryContent, geminiMdFileCount: fileCount, approvalMode, - showMemoryUsage: - argv.showMemoryUsage || - argv.show_memory_usage || - settings.showMemoryUsage || - false, + showMemoryUsage: argv.showMemoryUsage || settings.showMemoryUsage || false, accessibility: { ...settings.accessibility, screenReader,