fix add package parsing

This commit is contained in:
Nikolche Kolev 2018-06-20 15:17:19 -07:00
parent dba0aa33da
commit b23c372077

View file

@ -49,7 +49,9 @@ namespace Microsoft.DotNet.Cli
.With(name: LocalizableStrings.CmdPackageDirectory)
.ForwardAsSingle(o => $"--package-directory {o.Arguments.Single()}")),
Create.Option("--interactive",
LocalizableStrings.CmdInteractiveRestoreDescription));
LocalizableStrings.CmdInteractiveRestoreDescription,
Accept.NoArguments()
.ForwardAs("--interactive")));
}
public static IEnumerable<string> QueryNuGet(string match)