gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

--help prints to stderr.

Open hungrymonkey opened this issue 2 years ago • 2 comments

Hi gamescope team,

May I ask why --help prints to stderr? I believe most cli utilities prints to stdout when prompted by the user. This behavior makes gamescope --help | grep "token" awkward

https://github.com/ValveSoftware/gamescope/blame/af3f6bf8274080272dc188405d050d9cd24ac352/src/main.cpp#L534

Is it related to sway?

hungrymonkey avatar Sep 17 '23 13:09 hungrymonkey

Try using gamescope --help |& grep "token" instead

ForTheReallys avatar Sep 18 '23 01:09 ForTheReallys

Also a problem with gamescope --version

sleeptightAnsiC avatar Feb 11 '25 22:02 sleeptightAnsiC