Skip to content

Conversation

fp64
Copy link
Contributor

@fp64 fp64 commented Aug 25, 2025

This also changes bunch of logging from stdout to stderr. Conventionally, intended output goes to stdout, and diagnostic output to stderr. For a graphical application like PPSSPPSDL, pretty much the only intended textual outputs are results of --help and --version. The rest now mostly goes to stderr (there are still few straggler printfs left).

This also changes bunch of logging from stdout to stderr.
Conventionally, intended output goes to stdout, and diagnostic
output to stderr. For a graphical application like PPSSPPSDL,
pretty much the only intended textual outputs are results of
`--help` and `--version`. The rest now mostly goes to stderr
(there are still few straggler `printf`s left).
@fp64
Copy link
Contributor Author

fp64 commented Aug 25, 2025

Not super confident on some of the wording in --help, there might be a better way.
Also didn't try to hunt down remaining printfs before this is ok'd.

Copy link
Owner

@hrydgard hrydgard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@hrydgard hrydgard added this to the v1.20 milestone Aug 26, 2025
@hrydgard hrydgard merged commit 2769b1b into hrydgard:master Aug 26, 2025
21 checks passed
@fp64 fp64 deleted the sdl-help branch August 26, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants