mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
chore: add general usage message to --help message (#3500)
This commit is contained in:
@@ -53,6 +53,11 @@ interface CliArgs {
|
|||||||
|
|
||||||
async function parseArguments(): Promise<CliArgs> {
|
async function parseArguments(): Promise<CliArgs> {
|
||||||
const argv = await yargs(hideBin(process.argv))
|
const argv = await yargs(hideBin(process.argv))
|
||||||
|
.scriptName('gemini')
|
||||||
|
.usage(
|
||||||
|
'$0 [options]',
|
||||||
|
'Gemini CLI - Launch an interactive CLI, use -p/--prompt for non-interactive mode',
|
||||||
|
)
|
||||||
.option('model', {
|
.option('model', {
|
||||||
alias: 'm',
|
alias: 'm',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
|||||||
Reference in New Issue
Block a user