From 680129e370de0bda8059188505d3316012e9e64c Mon Sep 17 00:00:00 2001 From: csquarechen Date: Sat, 14 Sep 2024 11:30:55 +0800 Subject: [PATCH] update the discription of language commend --- README.md | 1 + cli/flags.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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