logoalt Hacker News

anyfooyesterday at 11:29 PM2 repliesview on HN

I guess this is a point where I disagree with GNU. Then again, the reasons why I disagree are subtle enough that I don't care too much... I think this particular thing doesn't matter very much in practice, so go do your thing GNU...


Replies

dylan604today at 12:43 AM

I can see both sides. As someone automating, I could see getting the malformed command -h result to stderr. I can also see that sending -h to stdout would be expected as that is the legit out as requested by the user. At the least, if -h is sent to stdout for a malformed command then by gawd it better be a nonzero exit. With that, I think (and boy did it hurt) that it's an okay rule to break

ryandrakeyesterday at 11:55 PM

Out of the problems we all agonize over, this is probably a 1 out of 10!