News for hackers. Stuff that matters.
Re:CLI Guidelines – A guide to help you write better command... by sedatk on Sunday December 06, 2020 @12:25AM (#25321298)
Yes, but many apps show help text when incorrect arguments are provided so, it’s an error in those cases. The dev probably doesn’t want to bother with using different output channels for the same help text.
Re:CLI Guidelines – A guide to help you write better command... by ithkuil on Sunday December 06, 2020 @04:24AM (#25322272)
That a dev of an arbitrary tool may not bother is understandable. However, the dev of the flags parsing library should bother.
Re:CLI Guidelines – A guide to help you write better command... by pimlottc on Sunday December 06, 2020 @10:00AM (#25323847)
Sure, of course sometimes it should be on stderr. It's a pretty simple fix to have it choose the right channel, though.