From 07329d2a41ba68545a508c2b0639a8be38b42f96 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Sat, 27 Aug 2022 22:14:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs b/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs index 83ab725..1e3699b 100644 --- a/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs +++ b/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs @@ -75,7 +75,7 @@ namespace N_m3u8DL_RE.CommandLine else { forStr = p.GetValue("for") ?? "best"; - if (forStr != ForStrRegex().Match(input).Value) + if (forStr != ForStrRegex().Match(forStr).Value) { result.ErrorMessage = $"for={forStr} not valid"; return null;