-
Notifications
You must be signed in to change notification settings - Fork 148
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
Single --verbose
is ignored, only --verbose --verbose
works
#867
Comments
This was changed in #851
Based on feedback about how noisy the output way. I punted on the bookkeeping for deciding what flag to show by just vaguely changing it to say "add |
For what it's worth, I never clued into needing to write
I don't mind that this behaviour exists now that I'm aware of it, but the messaging could be improved to make it clear. |
This behavior is very confusing. If it wasn't for the explanation in the issue description here, I still wouldn't know how to make cargo-edit produce the table of dependency versions. It literally tells me to use Suggestion:
|
Running
cargo upgrade
with--verbose
flag produces the same content as without it. Only adding a second flag to create--verbose --verbose
makes a difference.I'm using cargo-edit-upgrade 0.12.0.
Steps to reproduce
cargo upgrade -i --recursive
:It suggest to add
--verbose
flag, so let's do it.4. Run
git restore Cargo.lock Cargo.toml
5. Run
cargo upgrade -i --recursive --verbose
:As you can see, there is no difference in output - the
--verbose
flag has been ignored.git restore Cargo.lock Cargo.toml
--verbose
flag:Only now the verbosity has increased.
The text was updated successfully, but these errors were encountered: