Skip to content

Provide a better command example in case language option is used #4494

Closed
@vlada-shubina

Description

@vlada-shubina

Currently, when option is not valid for certain template language, example suggested does not specify language.

> dotnet new webapi -minimal -lang F#
Error: Invalid option(s):
-minimal
   '-minimal' is not a valid option

For more information, run:
   dotnet new webapi -h

Improve the example: when the language is specified, example should contain the language too, i.e. for the example above
dotnet new webapi -h -lang F#

Metadata

Metadata

Assignees

Labels

triagedThe issue was evaluated by the triage team, placed on correct area, next action defined.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions