move parse result validation to CommandBase to allow custom messages

This commit is contained in:
Jon Sequeira 2017-03-19 14:30:43 -07:00
parent e0ca794ed5
commit 43c13f2f53
16 changed files with 75 additions and 31 deletions

View file

@ -22,7 +22,8 @@ namespace Microsoft.DotNet.Tools.Add.ProjectToProjectReference
public AddProjectToProjectReferenceCommand(
AppliedOption appliedCommand,
string fileOrDirectory)
string fileOrDirectory,
ParseResult parseResult) : base(parseResult)
{
if (appliedCommand == null)
{