Merge pull request #976 from pavdmyt/pavdmyt/fix-changeDefaultModel-flag-descr

fix: correct changeDefaultModel flag description
This commit is contained in:
Eugen Eisler 2024-09-20 12:56:39 +02:00 committed by GitHub
commit a31af9fa80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ Application Options:
-m, --model= Choose model -m, --model= Choose model
-o, --output= Output to file -o, --output= Output to file
-n, --latest= Number of latest patterns to list (default: 0) -n, --latest= Number of latest patterns to list (default: 0)
-d, --changeDefaultModel Change default pattern -d, --changeDefaultModel Change default model
-y, --youtube= YouTube video url to grab transcript, comments from it and send to chat -y, --youtube= YouTube video url to grab transcript, comments from it and send to chat
--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

View File

@ -36,7 +36,7 @@ type Flags struct {
Model string `short:"m" long:"model" description:"Choose model"` Model string `short:"m" long:"model" description:"Choose model"`
Output string `short:"o" long:"output" description:"Output to file" default:""` Output string `short:"o" long:"output" description:"Output to file" default:""`
LatestPatterns string `short:"n" long:"latest" description:"Number of latest patterns to list" default:"0"` LatestPatterns string `short:"n" long:"latest" description:"Number of latest patterns to list" default:"0"`
ChangeDefaultModel bool `short:"d" long:"changeDefaultModel" description:"Change default pattern"` ChangeDefaultModel bool `short:"d" long:"changeDefaultModel" description:"Change default model"`
YouTube string `short:"y" long:"youtube" description:"YouTube video url to grab transcript, comments from it and send to chat"` YouTube string `short:"y" long:"youtube" description:"YouTube video url to grab transcript, comments from it and send to chat"`
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"`