add diag to VerbosityOption
This commit is contained in:
parent
ea899f236e
commit
ee2b8f2efa
3 changed files with 8 additions and 3 deletions
|
|
@ -3,8 +3,10 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.DotNet.Cli;
|
||||
using Microsoft.DotNet.Cli.CommandLine;
|
||||
using Microsoft.DotNet.Cli.Utils;
|
||||
using Microsoft.DotNet.Tools.MSBuild;
|
||||
using Parser = Microsoft.DotNet.Cli.Parser;
|
||||
|
||||
namespace Microsoft.DotNet.Tools.Publish
|
||||
{
|
||||
|
|
@ -25,6 +27,8 @@ namespace Microsoft.DotNet.Tools.Publish
|
|||
|
||||
var result = parser.ParseFrom("dotnet publish", args);
|
||||
|
||||
Reporter.Output.WriteLine(result.Diagram());
|
||||
|
||||
result.ShowHelpIfRequested();
|
||||
|
||||
msbuildArgs.Add("/t:Publish");
|
||||
|
|
|
|||
Reference in a new issue