dotnet list reference fix

This commit is contained in:
jonsequitur 2017-03-14 19:19:31 -07:00
parent 4940c2a6ee
commit 1ca338838a
2 changed files with 1 additions and 2 deletions

View file

@ -19,7 +19,6 @@ namespace Microsoft.DotNet.Cli
CommonOptions.HelpOption(), CommonOptions.HelpOption(),
Create.Command("reference", Create.Command("reference",
LocalizableStrings.AppFullName, LocalizableStrings.AppFullName,
Accept.ExactlyOneArgument(),
CommonOptions.HelpOption())); CommonOptions.HelpOption()));
} }
} }

View file

@ -20,7 +20,7 @@ namespace Microsoft.DotNet.Tools.List
internal override Dictionary<string, Func<AppliedOption, CommandBase>> SubCommands => internal override Dictionary<string, Func<AppliedOption, CommandBase>> SubCommands =>
new Dictionary<string, Func<AppliedOption, CommandBase>> new Dictionary<string, Func<AppliedOption, CommandBase>>
{ {
{ "list", o => new ListProjectToProjectReferencesCommand(o) } { "reference", o => new ListProjectToProjectReferencesCommand(o) }
}; };
public static int Run(string[] args) public static int Run(string[] args)