Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress extract success message when quiet flag is set #12839

Merged

Conversation

nvllsvm
Copy link
Contributor

@nvllsvm nvllsvm commented Jun 6, 2024

The --quiet flag should suppress all non-error messages.


This change is useful in a personal wrapper I have around dolphin-tool (and other extract tools). My wrapper outputs it's own extraction success messages, but allows any warnings/errors to be displayed. Since dolphin-tool extract outputs everything to stderr, this PR would negate me having to capture and filter stderr to suppress the success message. displayed immediately. https://github.com/nvllsvm/dotfiles/blob/7456f47280aa7f5e1f7385225c41a5335cba7148/scripts/terminal/archive#L802-L813

@nvllsvm nvllsvm force-pushed the fix_extract_success_quiet branch from c1f5509 to 896bb50 Compare June 6, 2024 22:05
@JosJuice
Copy link
Member

JosJuice commented Jun 7, 2024

I wonder why everything is printed to stderr... But regardless, this change LGTM.

@AdmiralCurtiss AdmiralCurtiss merged commit 6b2dc1c into dolphin-emu:master Jun 10, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants