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

Write update warnings to stderr, not stdout #113

Closed
dbrgn opened this issue Apr 16, 2020 · 0 comments · Fixed by #114
Closed

Write update warnings to stderr, not stdout #113

dbrgn opened this issue Apr 16, 2020 · 0 comments · Fixed by #114

Comments

@dbrgn
Copy link
Collaborator

dbrgn commented Apr 16, 2020

The update warnings are printed to stdout:

$ target/debug/tldr --list | head -n 5
The cache hasn't been updated for more than 30 days.
You should probably run `tldr --update` soon.
7z
7za
...

This breaks workflows where the output is piped to a different command for further processing (e.g. grep).

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

Successfully merging a pull request may close this issue.

1 participant