This commit is contained in:
Jon Sequeira 2017-03-08 16:02:24 -08:00
parent 30480fa189
commit fd6f7e48b5
5 changed files with 24 additions and 13 deletions

View file

@ -19,10 +19,10 @@ namespace Microsoft.DotNet.Cli
DebugHelper.HandleDebugSwitch(ref args);
// get the parser for the current subcommand
var parser = Parser.Instance["dotnet"]["complete"];
var parser = Parser.Instance;
// parse the arguments
var result = parser.Parse(args);
var result = parser.ParseFrom("dotnet complete", args);
var complete = result["complete"];