New ask Hacker News story: Tell HN: Please don't print –help to stderr in your CLI tools

Tell HN: Please don't print –help to stderr in your CLI tools
35 by RicoElectrico | 20 comments on Hacker News.
Imagine you get a lengthy help description which then you pipe to less.. and you only get (END) in your terminal. Turns out the author decided to print help message to stderr instead of stdout. I assume newcomers will be as confused as I was when it happened to me for the first time. GNU utils use stdout for help texts, and so should you.

Comments

Popular posts from this blog

New ask Hacker News story: Tell HN: Equifax free credit report dark patterns

New ask Hacker News story: Ask HN: Why can't the US government run their own social media?