commandlineparser / commandlineparser/commandline

Send only the actual error to Console.Error

Aperta
#184 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
help wanted
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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`)?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.