diff --git a/README.md b/README.md index 54aa2ea..ce24ba4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/cli/flags.go b/cli/flags.go index c576d39..7d60247 100644 --- a/cli/flags.go +++ b/cli/flags.go @@ -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