Update CommonOptions.cs

The additional `app.HelpOption` here prevents the application from displaying help when that option is passed due to the `CommandLineUtils` choking on the duplicated template; also, `PrecompilationApplication` already defines its own `HelpOption` and `Description`.
This commit is contained in:
Derek Gray 2016-08-24 12:03:38 -05:00 committed by Pranav K
parent 3369bb6e90
commit ea461c3b47
1 changed files with 0 additions and 3 deletions

View File

@ -18,9 +18,6 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Precompilation.Design.Internal
public void Configure(CommandLineApplication app)
{
app.Description = "Precompiles an application.";
app.HelpOption("-?|-h|--help");
ProjectArgument = app.Argument(
"project",
"The path to the project (project folder or project.json) with precompilation.");