This repository was archived by the owner on Jul 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,13 +172,13 @@ public static CommandLineParseResult Parse(string[] args)
172
172
for ( int i = 0 ; i < args . Length ; i ++ )
173
173
{
174
174
string arg = args [ i ] ;
175
- if ( arg . StartsWith ( ConfigSwitch , StringComparison . OrdinalIgnoreCase ) )
175
+ if ( arg . StartsWith ( ConfigSwitch , comparison ) )
176
176
{
177
177
var all = arg . Substring ( ConfigSwitch . Length ) ;
178
178
var configs = all . Split ( new [ ] { ',' } , StringSplitOptions . RemoveEmptyEntries ) ;
179
179
configBuilder . Add ( configs ) ;
180
180
}
181
- else if ( arg . StartsWith ( CopyrightSwitch , StringComparison . OrdinalIgnoreCase ) )
181
+ else if ( arg . StartsWith ( CopyrightSwitch , comparison ) )
182
182
{
183
183
var fileName = arg . Substring ( CopyrightSwitch . Length ) ;
184
184
try
@@ -194,7 +194,7 @@ public static CommandLineParseResult Parse(string[] args)
194
194
return CommandLineParseResult . CreateError ( error ) ;
195
195
}
196
196
}
197
- else if ( arg . StartsWith ( LanguageSwitch , StringComparison . OrdinalIgnoreCase ) )
197
+ else if ( arg . StartsWith ( LanguageSwitch , comparison ) )
198
198
{
199
199
language = arg . Substring ( LanguageSwitch . Length ) ;
200
200
}
You can’t perform that action at this time.
0 commit comments