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

install doesn't fully respect -q parameter. #2571

Closed
goertzenator opened this issue Apr 13, 2016 · 2 comments
Closed

install doesn't fully respect -q parameter. #2571

goertzenator opened this issue Apr 13, 2016 · 2 comments
Labels
E-easy Experience: Easy

Comments

@goertzenator
Copy link

When I use the -q (quiet) parameter with the install command, I still get the following output:

cargo install --path crates/erl_comm/ --root priv/rust -q
be sure to add `/home/goertzen/rust.mk_demo/priv/rust/bin` to your PATH to be able to run the installed binaries

The expectation is to not see the be sure to add... line.

Use case: I am writing a plugin for Erlang to build extension modules in Rust. Cargo is too noisy during build:

goertzen@g550jk ~/rust.mk_demo $ make
 DEPEND rustmk_demo.d
 ERLC   complex1.erl rustmk_demo_app.erl rustmk_demo_sup.erl
 APP    rustmk_demo
 CARGO  erl_comm
be sure to add `/home/goertzen/rust.mk_demo/priv/rust/bin` to your PATH to be able to run the installed binaries
@alexcrichton alexcrichton added the E-easy Experience: Easy label Apr 13, 2016
@alexcrichton
Copy link
Member

Oops! Should be a pretty easy conditional to add somewhere though

@alexcrichton
Copy link
Member

I think this is something like Shell::warn just needs a check like Shell::status has today (or something like that)

alexcrichton added a commit to alexcrichton/cargo that referenced this issue Apr 14, 2016
bors added a commit that referenced this issue Apr 21, 2016
Don't print warnings when -q is passed

Closes #2571
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Experience: Easy
Projects
None yet
Development

No branches or pull requests

2 participants