修复bug
This commit is contained in:
parent
9bf57058cf
commit
07329d2a41
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue