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

"rustup doc" fails silently when docs are not installed #941

Closed
rspeer opened this issue Feb 7, 2017 · 1 comment
Closed

"rustup doc" fails silently when docs are not installed #941

rspeer opened this issue Feb 7, 2017 · 1 comment

Comments

@rspeer
Copy link

rspeer commented Feb 7, 2017

I installed Rust on macOS 10.10 using rustup, and tried running rustup doc to get to the local documentation, as some recently-written instructions told me to. Nothing happened.

I Googled and found that I needed to first run rustup component add rust-docs. After that, rustup doc did what was expected, opening the local documentation in Chrome.

It would be nice if rustup doc could say in a message that the docs need to be installed with rustup component add rust-docs, instead of just saying nothing.

@rspeer
Copy link
Author

rspeer commented Feb 8, 2017

Sorry, I searched for this issue and didn't find it, but now I see it's a duplicate of #901.

@rspeer rspeer closed this as completed Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant