commandlineparser / commandlineparser/commandline
Send only the actual error to Console.Error
- Langage dominant
- C#
- Étoiles
- 4.8k
- Forks
- 478
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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`)?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Read src/CommandLine/Parser.cs around line 199 and trace how help text and errors are written to the console. The change is complete when only the actual error goes to Console.Error, while the help text before and after it goes to Console.Out.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100