mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
Change -C to -c
This commit is contained in:
parent
f866f7f071
commit
d464f61b72
2 changed files with 3 additions and 4 deletions
|
|
@ -212,8 +212,8 @@ describe('parseArguments', () => {
|
|||
expect(argv.resume).toBe('session-123');
|
||||
});
|
||||
|
||||
it('should allow -C flag as alias for --continue', async () => {
|
||||
process.argv = ['node', 'script.js', '-C'];
|
||||
it('should allow -c flag as alias for --continue', async () => {
|
||||
process.argv = ['node', 'script.js', '-c'];
|
||||
const argv = await parseArguments({} as Settings);
|
||||
expect(argv.continue).toBe(true);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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)',
|
||||
})
|
||||
.option('checkpointing', {
|
||||
alias: 'c',
|
||||
type: 'boolean',
|
||||
description: 'Enables checkpointing of file edits',
|
||||
default: false,
|
||||
|
|
@ -422,7 +421,7 @@ export async function parseArguments(settings: Settings): Promise<CliArgs> {
|
|||
default: false,
|
||||
})
|
||||
.option('continue', {
|
||||
alias: 'C',
|
||||
alias: 'c',
|
||||
type: 'boolean',
|
||||
description:
|
||||
'Resume the most recent session for the current project.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue