Skip to content

Use stderr for stats output, #678 #864

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mattpker
Copy link

Borrowing from the design of wget, change the stats output to use stderr. This way you can use --quiet with --stats and still be able to get the stats. This also is helpful for logging, if you use the --stats flag you know that with 2> you can log both the errors and the stats of your automation. This fixes issue #678

@fviard
Copy link
Contributor

fviard commented Mar 22, 2020

In itself it is a good idea, my problem is that it is a breaking change for users that would be machine parsing the stat info.
So, maybe to be pushed at the same time as breaking change in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants