gamescope
gamescope copied to clipboard
Switcht output of --help from stderr to stdout
Switch output of --help from stderr to stdout.
User messages are meant to be printed to stderr.
User messages are meant to be printed to stderr.
As a user i do not expect to get user info on stderr tbh. Imo it is really uncommon and unhandy to use (don't want to redirect stderr to use | more on --help of a programm)
All programs i use on shell send --help to stdout. find, grep, make, gcc, meson, vulkaninfo..just to name a few of them. And they do that for ages.
While searching i only found 1 other example which uses stderr, renderdoc.
I think it going to stderr is a bit weird. it's common to do commands like command --help | less however with gamescope you need to first redirect stderr to stdout, which is simple fair enough, but it's a weird departure from the norm that through me off for a couple of seconds. Not a massive issue it's just kinda odd.