Post

I hate people that (1) do not support -h and --help (looking at you docker) and (2) send output from -h/--help to stderr (looking at you tailscale)

0 reposts1 like

This is a tricky one. The “correct” thing is to send the usage message to stderr when it’s the result of a syntax error, but stdout when you request it like -h. But nobody expects that either. So “2>&1 | less” it is.

I don't trust these newfangled late-POSIX redirect punctuations ever since the noncompliant SunOS shell didn't support them