mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
Don't convert arg values to lower-case
This commit is contained in:
parent
f61f3e39b9
commit
e8e94d4384
1 changed files with 3 additions and 3 deletions
|
@ -29,17 +29,17 @@ public StartupContext(params string[] args)
|
|||
|
||||
foreach (var s in args)
|
||||
{
|
||||
var flag = s.Trim(' ', '/', '-').ToLower();
|
||||
var flag = s.Trim(' ', '/', '-');
|
||||
|
||||
var argParts = flag.Split('=');
|
||||
|
||||
if (argParts.Length == 2)
|
||||
{
|
||||
Args.Add(argParts[0].Trim(), argParts[1].Trim(' ', '"'));
|
||||
Args.Add(argParts[0].Trim().ToLower(), argParts[1].Trim(' ', '"'));
|
||||
}
|
||||
else
|
||||
{
|
||||
Flags.Add(flag);
|
||||
Flags.Add(flag.ToLower());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue