Skip to content

Commit b5b5f90

Browse files
typo
1 parent a65a92d commit b5b5f90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UltraMapper.CommandLine/Parsers/DefaultParser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)