update the discription of language commend
This commit is contained in:
parent
d574670084
commit
680129e370
@ -210,6 +210,7 @@ Application Options:
|
|||||||
--transcript Grab transcript from YouTube video and send to chat
|
--transcript Grab transcript from YouTube video and send to chat
|
||||||
--comments Grab comments 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
|
--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:
|
Help Options:
|
||||||
-h, --help Show this help message
|
-h, --help Show this help message
|
||||||
|
@ -40,7 +40,7 @@ type Flags struct {
|
|||||||
YouTubeTranscript bool `long:"transcript" description:"Grab transcript from YouTube video and send to chat"`
|
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"`
|
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"`
|
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
|
// Init Initialize flags. returns a Flags struct and an error
|
||||||
|
Loading…
x
Reference in New Issue
Block a user