Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @matklad (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
|
Thanks! Looks like some tests may be failing though? |
I don't understand how this could be caused by my patch. |
|
@bors try Looks like the failure was caused by a yanked docopt from the first of January 😆 |
Send --help output to stdout Fixes #4878
|
☀️ Test successful - status-appveyor, status-travis |
src/cargo/lib.rs
Outdated
| drop(shell.error(&error)) | ||
| } else { | ||
| drop(writeln!(shell.err(), "{}", error)) | ||
| // Non-fatal messages, like --help output, go to stdout. |
There was a problem hiding this comment.
I believe this comment is a bit misleading: a ton of non-fatal messages, like Downloading foo... purposefully use stderr. Maybe drop this comment or change it to "unlike all other human-readable output, help goes to stdout so as to make it easier to use pager with cargo --help".
There was a problem hiding this comment.
Makes sense. I'll just drop it, I suppose anybody who is curious can read the history.
|
Oops sorry about that! Good catch! |
|
@bors: r+ |
|
📌 Commit 836e3ef has been approved by |
Send --help output to stdout Fixes #4878
|
☀️ Test successful - status-appveyor, status-travis |
Fixes #4878