kotlinx-cli
kotlinx-cli copied to clipboard
Error messages should be sent to stderr instead of stdout.
If the supplied arguments aren't parseable and a usage message is output, it should go to stderr, not stdout. (Whereas if the user requested a usage message with the -help option, that should go to stdout.). This is standard behavior for command-line tools running in a POSIX environment.