mirror of
https://github.com/NohamR/N_m3u8DL-RE.git
synced 2025-05-25 06:41:57 +00:00
优化morehelp
逻辑
This commit is contained in:
parent
cfff3a138b
commit
f8c1123d65
@ -415,7 +415,7 @@ namespace N_m3u8DL_RE.CommandLine
|
||||
{
|
||||
var argList = new List<string>(args);
|
||||
var index = -1;
|
||||
if ((index = argList.IndexOf("--morehelp")) == 0 && argList.Count == 2)
|
||||
if ((index = argList.IndexOf("--morehelp")) >= 0 && argList.Count > index + 1)
|
||||
{
|
||||
var option = argList[index + 1];
|
||||
var msg = option switch
|
||||
|
Loading…
x
Reference in New Issue
Block a user