File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
UltraMapper.CommandLine/Parsers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ public sealed class DefaultParser : ICommandLineParser
120120 public static readonly Regex NameValueSpitter = new Regex ( @"^((?<paramName>[\w\.]+)\s*=\s*){0,1}(?<paramValue>.*)" ,
121121 RegexOptions . IgnorePatternWhitespace | RegexOptions . Compiled , TimeSpan . FromSeconds ( 3 ) ) ;
122122
123- public IEnumerable < ParsedCommand > Parse ( string [ ] commands )
123+ public IEnumerable < ParsedCommand > Parse ( string [ ] args )
124124 {
125125 //Allegedly an array of commands has already been processed and split (and quotes removed)
126126 //by the command line. In theory every item equals a param, so it should be safe to quote
@@ -145,7 +145,7 @@ IEnumerable<string> requote( string[] cmds )
145145 }
146146 }
147147
148- var quotedCommands = requote ( commands ) ;
148+ var quotedCommands = requote ( args ) ;
149149 return this . Parse ( String . Join ( " " , quotedCommands ) ) ;
150150 }
151151
You can’t perform that action at this time.
0 commit comments