Change -C to -c

This commit is contained in:
Alexander Farber
2025-12-18 07:35:53 +01:00
parent f866f7f071
commit d464f61b72
2 changed files with 3 additions and 4 deletions

View File

@@ -212,8 +212,8 @@ describe('parseArguments', () => {
expect(argv.resume).toBe('session-123'); expect(argv.resume).toBe('session-123');
}); });
it('should allow -C flag as alias for --continue', async () => { it('should allow -c flag as alias for --continue', async () => {
process.argv = ['node', 'script.js', '-C']; process.argv = ['node', 'script.js', '-c'];
const argv = await parseArguments({} as Settings); const argv = await parseArguments({} as Settings);
expect(argv.continue).toBe(true); expect(argv.continue).toBe(true);
}); });

View File

@@ -299,7 +299,6 @@ export async function parseArguments(settings: Settings): Promise<CliArgs> {
'Set the approval mode: plan (plan only), default (prompt for approval), auto-edit (auto-approve edit tools), yolo (auto-approve all tools)', 'Set the approval mode: plan (plan only), default (prompt for approval), auto-edit (auto-approve edit tools), yolo (auto-approve all tools)',
}) })
.option('checkpointing', { .option('checkpointing', {
alias: 'c',
type: 'boolean', type: 'boolean',
description: 'Enables checkpointing of file edits', description: 'Enables checkpointing of file edits',
default: false, default: false,
@@ -422,7 +421,7 @@ export async function parseArguments(settings: Settings): Promise<CliArgs> {
default: false, default: false,
}) })
.option('continue', { .option('continue', {
alias: 'C', alias: 'c',
type: 'boolean', type: 'boolean',
description: description:
'Resume the most recent session for the current project.', 'Resume the most recent session for the current project.',