restore:captures arguments for forwarding to MSBuild

This commit is contained in:
Jon Sequeira 2017-03-07 16:40:18 -08:00
parent 53ea7f62bf
commit 30480fa189
8 changed files with 88 additions and 36 deletions

View file

@ -19,7 +19,7 @@ namespace Microsoft.DotNet.Cli
DebugHelper.HandleDebugSwitch(ref args);
// get the parser for the current subcommand
var parser = Parser.DotnetCommand["complete"];
var parser = Parser.Instance["dotnet"]["complete"];
// parse the arguments
var result = parser.Parse(args);
@ -62,7 +62,7 @@ namespace Microsoft.DotNet.Cli
}
}
var result = Parser.DotnetCommand.Parse(input);
var result = Parser.Instance.Parse(input);
return result.Suggestions()
.ToArray();