mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
fix: yargs locale
This commit is contained in:
parent
86724ea85b
commit
fd883b4bae
2 changed files with 3 additions and 1 deletions
|
|
@ -81,6 +81,8 @@ export interface CliArgs {
|
|||
|
||||
export async function parseArguments(): Promise<CliArgs> {
|
||||
const yargsInstance = yargs(hideBin(process.argv))
|
||||
// Set locale to English for consistent output, especially in tests
|
||||
.locale('en')
|
||||
.scriptName('qwen')
|
||||
.usage(
|
||||
'Usage: qwen [options] [command]\n\nQwen Code - Launch an interactive CLI, use -p/--prompt for non-interactive mode',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue