Open ohadschn opened 6 years ago
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
stderr
Console.Error
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)?
stdout
Console.Out
Certainly would. +1 vote on that.
According to the GNU coding standards the --help option is supposed to print to stdout, not stderr, so it's already a bug that CommandLineParser is sending help output to stderr.
--help
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#L199Wouldn'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
)?