-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
"cargo help test" output should go to stdout #4878
Comments
Definitely sounds like a bug! |
Perhaps the cause is actually in docopt. |
No, docopt seems to do this properly at first read. |
Changing |
To give some historical context, we use This definitely should not apply to |
I added a test to |
Yeah, that doesn't seem to run. |
Aha, I figured out how to run it by hand. |
Currently,
cargo help test
output goes to stderr. This makes it unnecessarily difficult to pipe the output through a pager. Furthermore, this isn't an error situation -- the command exists to print the help, so it seems to me that it ought to go to stdout. (If it's any use, this is a longstanding GNU convention for tools as well; so many if not most core Linux utilities work this way.)The text was updated successfully, but these errors were encountered: