From bf826430906e987355cfeed0136a079c6c345297 Mon Sep 17 00:00:00 2001 From: xzeldon Date: Thu, 26 Dec 2024 02:02:19 +0300 Subject: [PATCH] fix: disable 'mouse trap' by cobra. lol --- internal/resources/cliArgs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/resources/cliArgs.go b/internal/resources/cliArgs.go index 3f4d17d..db604e7 100644 --- a/internal/resources/cliArgs.go +++ b/internal/resources/cliArgs.go @@ -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",