commandlineparser / commandlineparser/commandline
Send only the actual error to Console.Error
- Lenguaje dominante
- C#
- Estrellas
- 4.8k
- Forks
- 478
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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`)?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100