Compare commits

...

2 Commits

Author SHA1 Message Date
bf82643090
fix: disable 'mouse trap' by cobra. lol 2024-12-26 02:02:19 +03:00
f58c2e2dd8
style: missing new line 2024-12-26 01:50:19 +03:00

View File

@ -66,6 +66,8 @@ func ParseFlags() (*ParsedArguments, error) {
var parsedArgs *ParsedArguments
cobra.MousetrapHelpText = ""
rootCmd := &cobra.Command{
Use: "whisper",
Short: "Audio transcription using the OpenAI Whisper models",
@ -73,7 +75,7 @@ func ParseFlags() (*ParsedArguments, error) {
// Process language code with fallback
languageCode, err := processLanguageAndCode(args.Language)
if err != nil {
fmt.Printf("Error setting language, defaulting to English")
fmt.Println("Error setting language, defaulting to English")
// Default to English
languageCode = 0x6E65
}