dotnet / dotnet/command-line-api

Displaying help after parse error reporting should be configurable

Open
#2,191 3 comments 0 reactions 0 assignees View on GitHub
Area-API Area-Help
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

The Cli author, or better yet the end-user via an environment variable, should determine whether to display help after parse errors.

I hate that behavior with a passion because of how often it leads to scrolling to see the parse error. If I want help, I will ask for it. I never want to see it on errors.

(This is from seeing the code in ParseErrorAction.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.