Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auto merge of rust-lang#896 : jgillich/cargo/patch-3, r=alexcrichton
Currently the command output looks like this on Fedora: ``` $ curl https://static.rust-lang.org/rustup.sh | sudo bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9866 100 9866 0 0 39592 0 --:--:-- --:--:-- --:--:-- 39622[sudo] password for jakob: ``` The first time I ran it, I didn't even realize it is asking for a password. By using the options for `silent` and `show-error`, we get this: ``` $ curl -sS https://static.rust-lang.org/rustup.sh | sudo bash [sudo] password for jakob: ``` And errors are still displayed: ``` $ curl -sS https://example.invalid | sudo bash curl: (6) Could not resolve host: example.invalid [sudo] password for jakob: ```
- Loading branch information