diff --git a/src/ui/Forms/AudioToText/WhisperAudioToText.cs b/src/ui/Forms/AudioToText/WhisperAudioToText.cs index 799d34fb5..b82426c02 100644 --- a/src/ui/Forms/AudioToText/WhisperAudioToText.cs +++ b/src/ui/Forms/AudioToText/WhisperAudioToText.cs @@ -1116,10 +1116,18 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText { UnknownArgument = true; } + else if (outLine.Data.Contains("error: unknown arguments: ", StringComparison.OrdinalIgnoreCase)) + { + UnknownArgument = true; + } else if (outLine.Data.Contains("error: unrecognized argument: ", StringComparison.OrdinalIgnoreCase)) { UnknownArgument = true; } + else if (outLine.Data.Contains("error: unrecognized arguments: ", StringComparison.OrdinalIgnoreCase)) + { + UnknownArgument = true; + } if (outLine.Data.Contains("running on: CUDA", StringComparison.OrdinalIgnoreCase)) {