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)
172172 for ( int i = 0 ; i < args . Length ; i ++ )
173173 {
174174 string arg = args [ i ] ;
175- if ( arg . StartsWith ( ConfigSwitch , StringComparison . OrdinalIgnoreCase ) )
175+ if ( arg . StartsWith ( ConfigSwitch , comparison ) )
176176 {
177177 var all = arg . Substring ( ConfigSwitch . Length ) ;
178178 var configs = all . Split ( new [ ] { ',' } , StringSplitOptions . RemoveEmptyEntries ) ;
179179 configBuilder . Add ( configs ) ;
180180 }
181- else if ( arg . StartsWith ( CopyrightSwitch , StringComparison . OrdinalIgnoreCase ) )
181+ else if ( arg . StartsWith ( CopyrightSwitch , comparison ) )
182182 {
183183 var fileName = arg . Substring ( CopyrightSwitch . Length ) ;
184184 try
@@ -194,7 +194,7 @@ public static CommandLineParseResult Parse(string[] args)
194194 return CommandLineParseResult . CreateError ( error ) ;
195195 }
196196 }
197- else if ( arg . StartsWith ( LanguageSwitch , StringComparison . OrdinalIgnoreCase ) )
197+ else if ( arg . StartsWith ( LanguageSwitch , comparison ) )
198198 {
199199 language = arg . Substring ( LanguageSwitch . Length ) ;
200200 }
You can’t perform that action at this time.
0 commit comments