commandlineparser / commandlineparser/commandline

Send only the actual error to Console.Error

Open
#184 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

Currently all generated help text is sent to `stderr` (`Console.Error`) when an error occurs:
https://github.com/commandlineparser/commandline/blob/7aa501d534a657c388f94f66127b4f8dde64ac59/src/CommandLine/Parser.cs#L199

Wouldn't it make more sense to only send the actual error there, and send the rest of the help text (both before and after) to `stdout` (`Console.Out`)?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.