update the discription of language commend

This commit is contained in:
csquarechen 2024-09-14 11:30:55 +08:00
parent d574670084
commit 680129e370
2 changed files with 2 additions and 1 deletions

View File

@ -210,6 +210,7 @@ Application Options:
--transcript Grab transcript from YouTube video and send to chat
--comments Grab comments from YouTube video and send to chat
--dry-run Show what would be sent to the model without actually sending it
-g, --language= Specify the Language Code for the chat, e.g. -g=en -g=zh
Help Options:
-h, --help Show this help message

View File

@ -40,7 +40,7 @@ type Flags struct {
YouTubeTranscript bool `long:"transcript" description:"Grab transcript from YouTube video and send to chat"`
YouTubeComments bool `long:"comments" description:"Grab comments from YouTube video and send to chat"`
DryRun bool `long:"dry-run" description:"Show what would be sent to the model without actually sending it"`
Language string `short:"g" long:"language" description:"Language of the chat" default:""`
Language string `short:"g" long:"language" description:"Specify the Language Code for the chat, e.g. -g=en -g=zh" default:""`
}
// Init Initialize flags. returns a Flags struct and an error