restore:captures arguments for forwarding to MSBuild
This commit is contained in:
parent
53ea7f62bf
commit
30480fa189
8 changed files with 88 additions and 36 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue